linux/arch/x86/mach-voyager
Tejun Heo 9939ddaff5 x86: merge 64 and 32 SMP percpu handling
Now that pda is allocated as part of percpu, percpu doesn't need to be
accessed through pda.  Unify x86_64 SMP percpu access with x86_32 SMP
one.  Other than the segment register, operand size and the base of
percpu symbols, they behave identical now.

This patch replaces now unnecessary pda->data_offset with a dummy
field which is necessary to keep stack_canary at its place.  This
patch also moves per_cpu_offset initialization out of init_gdt() into
setup_per_cpu_areas().  Note that this change also necessitates
explicit per_cpu_offset initializations in voyager_smp.c.

With this change, x86_OP_percpu()'s are as efficient on x86_64 as on
x86_32 and also x86_64 can use assembly PER_CPU macros.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-16 14:19:58 +01:00
..
Makefile i386: move kernel 2007-10-11 11:17:01 +02:00
setup.c x86: smp.h move safe_smp_processor_id declartion to cpu.h 2009-01-07 21:48:25 +01:00
voyager_basic.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00
voyager_cat.c x86, voyager: fix ioremap_nocache() 2008-04-30 23:15:34 +02:00
voyager_smp.c x86: merge 64 and 32 SMP percpu handling 2009-01-16 14:19:58 +01:00
voyager_thread.c x86: remove pointless comments 2008-04-19 19:19:54 +02:00