Message ID | 148883869853.70777.12180810304957921737.stgit@djiang5-desk3.ch.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 72277b1..d337738 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h @@ -121,8 +121,9 @@ static inline void native_pmd_clear(pmd_t *pmd) *(tmp + 1) = 0; } -#if !defined(CONFIG_SMP) || (defined(CONFIG_HIGHMEM64G) && \ - defined(CONFIG_PARAVIRT)) +#if !defined(CONFIG_SMP) || \ + (defined(CONFIG_HIGHMEM64G) && defined(CONFIG_PARAVIRT)) || \ + (defined(CONFIG_NOHIGHMEM) && defined(CONFIG_X86_PAE)) static inline void native_pud_clear(pud_t *pudp) { }