fanghuilin / rpms / kernel

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