orgads / rpms / kernel

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