diff options
author | Andi Kleen <ak@suse.de> | 2006-02-03 21:51:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-04 16:43:15 -0800 |
commit | 14c3f8558717adb192c364f58b0d63dfc850ecca (patch) | |
tree | 16e04e07d4212217e597d79432ad03c2b3856855 /arch/x86_64/kernel/pci-swiotlb.c | |
parent | 3777a95903953c55f2309a89679b73c19ae5535b (diff) |
[PATCH] x86_64: Let impossible CPUs point to reference per cpu data
Hack for 2.6.16. In 2.6.17 all code that uses NR_CPUs should
be audited and changed to only touch possible CPUs.
Don't mark the reference per cpu data init data (so it stays
around after boot) and point all impossible CPUs to it. This way
they reference some valid - although shared memory. Usually
this is only initialization like INIT_LIST_HEADs and there
won't be races because these CPUs never run. Still somewhat hackish.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel/pci-swiotlb.c')
0 files changed, 0 insertions, 0 deletions