From: Zwane Mwaikambo Date: Tue, 6 Sep 2005 22:16:16 +0000 (-0700) Subject: [PATCH] x86_64: print processor number in show_regs X-Git-Tag: v2.6.14-rc1~743 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c078d3266e58a3edd698b9f143f78fc585679031;p=pandora-kernel.git [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 Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed