]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Remove safe_smp_processor_id()
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:37 +0000 (10:52 +0200)
commit151f8cc1169f9052095b2be36183ab132d75c6c2
treef3aae7a7e2fc15e88a8471256b2aa43c4850ad0f
parent34464a5b8937b79801776dfb6970c1b949fed4be
[PATCH] Remove safe_smp_processor_id()

And replace all users with ordinary smp_processor_id.  The function
was originally added to get some basic oops information out even
if the GS register was corrupted. However that didn't
work for some anymore because printk is needed to print the oops
and it uses smp_processor_id() already. Also GS register corruptions
are not particularly common anymore.

This also helps the Xen port which would otherwise need to
do this in a special way because it can't access the local APIC.

Cc: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/mce.c
arch/x86_64/kernel/smp.c
arch/x86_64/kernel/traps.c
include/asm-x86_64/smp.h