summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2017-02-27 10:56:37 -0800
committerLaura Abbott <labbott@fedoraproject.org>2017-02-27 10:56:37 -0800
commit4509f2f97a9f754fba466252293fcdf3cd10a409 (patch)
treed1a6fd8b22f53cc612ff5a3dcdeabb864647e4db
parentace9a4db5b7ff0a7b0df7c34763667628f168e09 (diff)
downloadkernel-4509f2f97a9f754fba466252293fcdf3cd10a409.tar.gz
kernel-4509f2f97a9f754fba466252293fcdf3cd10a409.tar.xz
kernel-4509f2f97a9f754fba466252293fcdf3cd10a409.zip
Fix for compile error on i386
-rw-r--r--0001-Revert-part-of-a00cc7d9dd93-mm-x86-add-support-for-P.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/0001-Revert-part-of-a00cc7d9dd93-mm-x86-add-support-for-P.patch b/0001-Revert-part-of-a00cc7d9dd93-mm-x86-add-support-for-P.patch
new file mode 100644
index 000000000..37583fdde
--- /dev/null
+++ b/0001-Revert-part-of-a00cc7d9dd93-mm-x86-add-support-for-P.patch
@@ -0,0 +1,32 @@
+From 100c6404fbe6ddbe450b3a2bcac8cd6488d05401 Mon Sep 17 00:00:00 2001
+From: Laura Abbott <labbott@redhat.com>
+Date: Mon, 27 Feb 2017 10:46:13 -0800
+Subject: [PATCH] Revert part of a00cc7d9dd93 ("mm, x86: add support for
+ PUD-sized transparent hugepages")
+
+Build issue, reported upstream.
+
+Signed-off-by: Laura Abbott <labbott@redhat.com>
+---
+ arch/x86/include/asm/pgtable-3level.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h
+index 8f50fb3..50d35e3 100644
+--- a/arch/x86/include/asm/pgtable-3level.h
++++ b/arch/x86/include/asm/pgtable-3level.h
+@@ -121,11 +121,9 @@ static inline void native_pmd_clear(pmd_t *pmd)
+ *(tmp + 1) = 0;
+ }
+
+-#ifndef CONFIG_SMP
+ static inline void native_pud_clear(pud_t *pudp)
+ {
+ }
+-#endif
+
+ static inline void pud_clear(pud_t *pudp)
+ {
+--
+2.7.4
+