mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
x86: fix pgtable_t build breakage
Commit 2f569afd9c
("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 <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f0e2dcffae
commit
3bf8f5a92c
1 changed files with 4 additions and 2 deletions
|
@ -50,11 +50,13 @@ typedef unsigned long phys_addr_t;
|
||||||
typedef union { pteval_t pte, pte_low; } pte_t;
|
typedef union { pteval_t pte, pte_low; } pte_t;
|
||||||
typedef pte_t boot_pte_t;
|
typedef pte_t boot_pte_t;
|
||||||
|
|
||||||
typedef struct page *pgtable_t;
|
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* CONFIG_X86_PAE */
|
#endif /* CONFIG_X86_PAE */
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
|
typedef struct page *pgtable_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_HUGETLB_PAGE
|
#ifdef CONFIG_HUGETLB_PAGE
|
||||||
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
|
#define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue