projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0e2dcf
)
x86: fix pgtable_t build breakage
author
Ingo Molnar
<
[email protected]
>
Fri, 8 Feb 2008 23:15:06 +0000
(
00:15
+0100)
committer
Linus Torvalds
<
[email protected]
>
Fri, 8 Feb 2008 23:37:13 +0000
(15:37 -0800)
Commit
2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4
("CONFIG_HIGHPTE vs.
sub-page page tables") caused some build breakage due to pgtable_t only
getting declared in the CONFIG_X86_PAE case.
Move the declaration outside the PAE section.
Signed-off-by: Ingo Molnar <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/asm-x86/page_32.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/page_32.h
b/include/asm-x86/page_32.h
index ba715d9798b093aeee1a50aecf5373caf8930835..984998a30741c0a604faaa36b217cbc957a04e55 100644
(file)
--- a/
include/asm-x86/page_32.h
+++ b/
include/asm-x86/page_32.h
@@
-50,11
+50,13
@@
typedef unsigned long phys_addr_t;
typedef union { pteval_t pte, pte_low; } pte_t;
typedef pte_t boot_pte_t;
-typedef struct page *pgtable_t;
-
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_X86_PAE */
+#ifndef __ASSEMBLY__
+typedef struct page *pgtable_t;
+#endif
+
#ifdef CONFIG_HUGETLB_PAGE
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
#endif