projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e43623b
)
x86 headers: protect page_32.h via __ASSEMBLY__
author
Ingo Molnar
<mingo@elte.hu>
Fri, 13 Feb 2009 12:36:47 +0000
(13:36 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 13 Feb 2009 12:36:47 +0000
(13:36 +0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/page_32.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/page_32.h
b/arch/x86/include/asm/page_32.h
index b3f0bf79e843b1ca9088d7e7f0624df5683db9a2..da4e762406f7da5913080fb5394b9d5b1197965e 100644
(file)
--- a/
arch/x86/include/asm/page_32.h
+++ b/
arch/x86/include/asm/page_32.h
@@
-3,6
+3,8
@@
#include <asm/page_32_types.h>
+#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 <asm/mmx.h>