imperfectism / rpms / kernel

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