diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-02-08 15:58:40 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 10:30:30 +0100 |
commit | 44581a28e805a31661469c4b466b9cd14b36e7b6 (patch) | |
tree | 090a4259cf5812a234b3dafcb626d20dae078558 /arch/sparc/kernel/setup_64.c | |
parent | x86: use linker to offset symbols by __per_cpu_load (diff) | |
download | linux-44581a28e805a31661469c4b466b9cd14b36e7b6.tar.xz linux-44581a28e805a31661469c4b466b9cd14b36e7b6.zip |
x86: fix abuse of per_cpu_offset
Impact: bug fix
Don't use per_cpu_offset() to determine if it valid to access a
per-cpu variable for a given cpu number. It is not a valid assumption
on x86-64 anymore. Use cpu_possible() instead.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sparc/kernel/setup_64.c')
0 files changed, 0 insertions, 0 deletions