diff options
Diffstat (limited to 'arch/x86/include/asm/x86_init.h')
-rw-r--r-- | arch/x86/include/asm/x86_init.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index ee7c59df7814..b9bb4faefc48 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _ASM_X86_PLATFORM_H | 1 | #ifndef _ASM_X86_PLATFORM_H |
2 | #define _ASM_X86_PLATFORM_H | 2 | #define _ASM_X86_PLATFORM_H |
3 | 3 | ||
4 | #include <asm/pgtable_types.h> | ||
5 | |||
4 | struct mpc_bus; | 6 | struct mpc_bus; |
5 | struct mpc_cpu; | 7 | struct mpc_cpu; |
6 | struct mpc_table; | 8 | struct mpc_table; |
@@ -67,6 +69,16 @@ struct x86_init_oem { | |||
67 | }; | 69 | }; |
68 | 70 | ||
69 | /** | 71 | /** |
72 | * struct x86_init_paging - platform specific paging functions | ||
73 | * @pagetable_setup_start: platform specific pre paging_init() call | ||
74 | * @pagetable_setup_done: platform specific post paging_init() call | ||
75 | */ | ||
76 | struct x86_init_paging { | ||
77 | void (*pagetable_setup_start)(pgd_t *base); | ||
78 | void (*pagetable_setup_done)(pgd_t *base); | ||
79 | }; | ||
80 | |||
81 | /** | ||
70 | * struct x86_init_ops - functions for platform specific setup | 82 | * struct x86_init_ops - functions for platform specific setup |
71 | * | 83 | * |
72 | */ | 84 | */ |
@@ -75,6 +87,7 @@ struct x86_init_ops { | |||
75 | struct x86_init_mpparse mpparse; | 87 | struct x86_init_mpparse mpparse; |
76 | struct x86_init_irqs irqs; | 88 | struct x86_init_irqs irqs; |
77 | struct x86_init_oem oem; | 89 | struct x86_init_oem oem; |
90 | struct x86_init_paging paging; | ||
78 | }; | 91 | }; |
79 | 92 | ||
80 | extern struct x86_init_ops x86_init; | 93 | extern struct x86_init_ops x86_init; |