Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86 headers: protect page_32.h via __ASSEMBLY__

Signed-off-by: Ingo Molnar <mingo@elte.hu>

+2 -2
+2 -2
arch/x86/include/asm/page_32.h
··· 3 3 4 4 #include <asm/page_32_types.h> 5 5 6 + #ifndef __ASSEMBLY__ 7 + 6 8 #ifdef CONFIG_HUGETLB_PAGE 7 9 #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA 8 10 #endif ··· 20 18 #ifdef CONFIG_FLATMEM 21 19 #define pfn_valid(pfn) ((pfn) < max_mapnr) 22 20 #endif /* CONFIG_FLATMEM */ 23 - 24 - #ifndef __ASSEMBLY__ 25 21 26 22 #ifdef CONFIG_X86_USE_3DNOW 27 23 #include <asm/mmx.h>