From 4509f2f97a9f754fba466252293fcdf3cd10a409 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Feb 27 2017 18:56:37 +0000 Subject: Fix for compile error on i386 --- 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 0000000..37583fd --- /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 +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 +--- + 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 +