l30013671 / rpms / kernel

Forked from rpms/kernel 2 years ago
Clone
e293be
From 87a5a3683110ec3d30d95036c57f5cfa330ca9d9 Mon Sep 17 00:00:00 2001
e293be
From: Marcus Sundberg <marcus.sundberg@aptilo.com>
e293be
Date: Fri, 16 Dec 2016 22:53:51 +0100
e293be
Subject: [PATCH] gpt: Use correct type for gpt->gdp.
e293be
e293be
It should be a pointer to gte_t, to avoid warnings when
e293be
CONFIG_HIGHMEM64G is enabled.
e293be
---
e293be
 include/linux/gpt.h | 2 +-
e293be
 1 file changed, 1 insertion(+), 1 deletion(-)
e293be
e293be
diff --git a/include/linux/gpt.h b/include/linux/gpt.h
e293be
index 134e02b..56715f1 100644
e293be
--- a/include/linux/gpt.h
e293be
+++ b/include/linux/gpt.h
e293be
@@ -45,7 +45,7 @@
e293be
 struct gpt {
e293be
 	unsigned long		start;
e293be
 	unsigned long		end;
e293be
-	unsigned long		*gdp;
e293be
+	gte_t			*gdp;
e293be
 	atomic_t		refcount;
e293be
 	spinlock_t		lock;
e293be
 	uint8_t			nlevels;
e293be
-- 
e293be
1.8.3.1
e293be