linuxtorvalds / rpms / kernel

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