diff options
-rw-r--r-- | arch/x86/kernel/head64.c | 5 | ||||
-rw-r--r-- | include/asm-x86/setup.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index c970929bb15d..f684e3b3de4e 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c | |||
@@ -108,6 +108,11 @@ void __init x86_64_start_kernel(char * real_mode_data) | |||
108 | 108 | ||
109 | early_printk("Kernel really alive\n"); | 109 | early_printk("Kernel really alive\n"); |
110 | 110 | ||
111 | x86_64_start_reservations(real_mode_data); | ||
112 | } | ||
113 | |||
114 | void __init x86_64_start_reservations(char *real_mode_data) | ||
115 | { | ||
111 | copy_bootdata(__va(real_mode_data)); | 116 | copy_bootdata(__va(real_mode_data)); |
112 | 117 | ||
113 | reserve_early(__pa_symbol(&_text), __pa_symbol(&_end), "TEXT DATA BSS"); | 118 | reserve_early(__pa_symbol(&_text), __pa_symbol(&_end), "TEXT DATA BSS"); |
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h index 42bc62b4b70c..1d121c632d9e 100644 --- a/include/asm-x86/setup.h +++ b/include/asm-x86/setup.h | |||
@@ -58,6 +58,8 @@ extern unsigned long init_pg_tables_end; | |||
58 | 58 | ||
59 | #else | 59 | #else |
60 | void __init x86_64_start_kernel(char *real_mode); | 60 | void __init x86_64_start_kernel(char *real_mode); |
61 | void __init x86_64_start_reservations(char *real_mode_data); | ||
62 | |||
61 | #endif /* __i386__ */ | 63 | #endif /* __i386__ */ |
62 | #endif /* _SETUP */ | 64 | #endif /* _SETUP */ |
63 | #endif /* __ASSEMBLY__ */ | 65 | #endif /* __ASSEMBLY__ */ |