]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
x86: add safe_smp_processor_id for x86_64
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Sat, 20 Oct 2007 01:23:02 +0000 (18:23 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000 (22:37 +0200)
Preperatory patch to allow crash_32/64.c merging

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/smp_64.h

index 6f0e0273b6462cf3ad9a4a3a55e4c3091ab91890..ab612b0ff270a173a4300d1d6ed6bf2bdd9b3d65 100644 (file)
@@ -76,6 +76,8 @@ extern unsigned __cpuinitdata disabled_cpus;
 
 #endif /* CONFIG_SMP */
 
+#define safe_smp_processor_id()                smp_processor_id()
+
 static inline int hard_smp_processor_id(void)
 {
        /* we don't want to mark this access volatile - bad code generation */