summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/processor.h
diff options
context:
space:
mode:
authorZwane Mwaikambo2005-09-07 00:16:16 +0200
committerLinus Torvalds2005-09-08 01:57:15 +0200
commitc078d3266e58a3edd698b9f143f78fc585679031 (patch)
tree01efc52786cb88db71cf0600ef5349740ffbdfc2 /include/asm-x86_64/processor.h
parent[PATCH] x86/x86_64: deferred handling of writes to /proc/irqxx/smp_affinity (diff)
downloadkernel-qcow2-linux-c078d3266e58a3edd698b9f143f78fc585679031.tar.gz
kernel-qcow2-linux-c078d3266e58a3edd698b9f143f78fc585679031.tar.xz
kernel-qcow2-linux-c078d3266e58a3edd698b9f143f78fc585679031.zip
[PATCH] x86_64: print processor number in show_regs
Up to date I've been using the GS value to determine the processor number in dumps from show_regs, however this can be cumbersome to do if you don't have the vmlinux to verify with the address of cpu_pda, how about the following? I considered using hard_smp_processor_id for robustness but we already dereference current so we're already relying on MSR_GS_BASE being sane. Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk> Acked-by: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/processor.h')
0 files changed, 0 insertions, 0 deletions