x86_64: initialize this_cpu_off to __per_cpu_load
authorTejun Heo <tj@kernel.org>
Fri, 16 Jan 2009 03:11:43 +0000 (12:11 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 13:20:58 +0000 (14:20 +0100)
commitcd3adf52309867955d6e2175246b526442235805
tree7b64648450dc39d9662d09923fab7fd1e9c47da8
parenta338af2c648f5e07c582154745a6c60cd2d8bf12
x86_64: initialize this_cpu_off to __per_cpu_load

On x86_64, if get_per_cpu_var() is used before per cpu area is setup
(if lockdep is turned on, it happens), it needs this_cpu_off to point
to __per_cpu_load.  Initialize accordingly.

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/kernel/smpcommon.c