x86: move this_cpu_offset
commit1688401a0fddba8991aa5c0943b8ae9583998d60
authorBrian Gerst <brgerst@gmail.com>
Tue, 27 Jan 2009 03:56:48 +0000 (27 12:56 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 27 Jan 2009 03:56:48 +0000 (27 12:56 +0900)
tree226ea8e760d37fc9812cc0f12855d43ba1b11427
parent996db817e3d1529d711e55b938d72ae4060b39fd
x86: move this_cpu_offset

Impact: Small cleanup

Define BOOT_PERCPU_OFFSET and use it for this_cpu_offset and
__per_cpu_offset initializers.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/kernel/setup_percpu.c
arch/x86/kernel/smpcommon.c