From: Ingo Molnar Date: Fri, 13 Feb 2009 12:36:47 +0000 (+0100) Subject: x86 headers: protect page_32.h via __ASSEMBLY__ X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=beb6943d8df7ce9278282101af4e0f6f7b648451;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git x86 headers: protect page_32.h via __ASSEMBLY__ Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/page_32.h b/arch/x86/include/asm/page_32.h index b3f0bf79e843..da4e762406f7 100644 --- a/arch/x86/include/asm/page_32.h +++ b/arch/x86/include/asm/page_32.h @@ -3,6 +3,8 @@ #include +#ifndef __ASSEMBLY__ + #ifdef CONFIG_HUGETLB_PAGE #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA #endif @@ -19,8 +21,6 @@ extern unsigned long __phys_addr(unsigned long); #define pfn_valid(pfn) ((pfn) < max_mapnr) #endif /* CONFIG_FLATMEM */ -#ifndef __ASSEMBLY__ - #ifdef CONFIG_X86_USE_3DNOW #include