Commit beb6943d authored by Ingo Molnar's avatar Ingo Molnar

x86 headers: protect page_32.h via __ASSEMBLY__

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent e43623b4
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include <asm/page_32_types.h> #include <asm/page_32_types.h>
#ifndef __ASSEMBLY__
#ifdef CONFIG_HUGETLB_PAGE #ifdef CONFIG_HUGETLB_PAGE
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA #define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
#endif #endif
...@@ -19,8 +21,6 @@ extern unsigned long __phys_addr(unsigned long); ...@@ -19,8 +21,6 @@ extern unsigned long __phys_addr(unsigned long);
#define pfn_valid(pfn) ((pfn) < max_mapnr) #define pfn_valid(pfn) ((pfn) < max_mapnr)
#endif /* CONFIG_FLATMEM */ #endif /* CONFIG_FLATMEM */
#ifndef __ASSEMBLY__
#ifdef CONFIG_X86_USE_3DNOW #ifdef CONFIG_X86_USE_3DNOW
#include <asm/mmx.h> #include <asm/mmx.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment