diff options
author | Tejun Heo <tj@kernel.org> | 2009-01-13 06:41:35 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-16 08:20:26 -0500 |
commit | 004aa322f855a765741d9437a98dd8fe2e4f32a6 (patch) | |
tree | a1240d533edfb2bc451dab230c25fb1468a091dc /arch/x86/kernel/head64.c | |
parent | 49357d19e4fb31e28796eaff83499e7584c26878 (diff) |
x86: misc clean up after the percpu update
Do the following cleanups:
* kill x86_64_init_pda() which now is equivalent to pda_init()
* use per_cpu_offset() instead of cpu_pda() when initializing
initial_gs
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head64.c')
-rw-r--r-- | arch/x86/kernel/head64.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index 71b6f6ec96a2..af67d3227ea6 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c | |||
@@ -26,11 +26,6 @@ | |||
26 | #include <asm/bios_ebda.h> | 26 | #include <asm/bios_ebda.h> |
27 | #include <asm/trampoline.h> | 27 | #include <asm/trampoline.h> |
28 | 28 | ||
29 | void __init x86_64_init_pda(void) | ||
30 | { | ||
31 | pda_init(0); | ||
32 | } | ||
33 | |||
34 | static void __init zap_identity_mappings(void) | 29 | static void __init zap_identity_mappings(void) |
35 | { | 30 | { |
36 | pgd_t *pgd = pgd_offset_k(0UL); | 31 | pgd_t *pgd = pgd_offset_k(0UL); |
@@ -96,7 +91,7 @@ void __init x86_64_start_kernel(char * real_mode_data) | |||
96 | if (console_loglevel == 10) | 91 | if (console_loglevel == 10) |
97 | early_printk("Kernel alive\n"); | 92 | early_printk("Kernel alive\n"); |
98 | 93 | ||
99 | x86_64_init_pda(); | 94 | pda_init(0); |
100 | 95 | ||
101 | x86_64_start_reservations(real_mode_data); | 96 | x86_64_start_reservations(real_mode_data); |
102 | } | 97 | } |