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/smpboot.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/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index f2f77ca494d4..2f0e0f1090f6 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -798,7 +798,7 @@ do_rest: | |||
798 | #else | 798 | #else |
799 | cpu_pda(cpu)->pcurrent = c_idle.idle; | 799 | cpu_pda(cpu)->pcurrent = c_idle.idle; |
800 | clear_tsk_thread_flag(c_idle.idle, TIF_FORK); | 800 | clear_tsk_thread_flag(c_idle.idle, TIF_FORK); |
801 | initial_gs = (unsigned long)cpu_pda(cpu); | 801 | initial_gs = per_cpu_offset(cpu); |
802 | #endif | 802 | #endif |
803 | early_gdt_descr.address = (unsigned long)get_cpu_gdt_table(cpu); | 803 | early_gdt_descr.address = (unsigned long)get_cpu_gdt_table(cpu); |
804 | initial_code = (unsigned long)start_secondary; | 804 | initial_code = (unsigned long)start_secondary; |