Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3bf8f5a92cd4b04e3f1e162a1b4b99759a882b5d Commit: 3bf8f5a92cd4b04e3f1e162a1b4b99759a882b5d Parent: f0e2dcffae8701f00b34bce90e762eb798dea5b1 Author: Ingo Molnar <[EMAIL PROTECTED]> AuthorDate: Sat Feb 9 00:15:06 2008 +0100 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Fri Feb 8 15:37:13 2008 -0800
x86: fix pgtable_t build breakage 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 | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/asm-x86/page_32.h b/include/asm-x86/page_32.h index ba715d9..984998a 100644 --- 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 - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html