Skip to content

Commit

Permalink
x86 headers: protect page_32.h via __ASSEMBLY__
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Feb 13, 2009
1 parent e43623b commit beb6943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/include/asm/page_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#include <asm/page_32_types.h>

#ifndef __ASSEMBLY__

#ifdef CONFIG_HUGETLB_PAGE
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
#endif
Expand All @@ -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 <asm/mmx.h>

Expand Down

0 comments on commit beb6943

Please sign in to comment.