ignatenkobrain / rpms / kernel

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