summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2007-10-19 18:23:02 -0700
committerThomas Gleixner <tglx@linutronix.de>2007-10-23 22:37:23 +0200
commit92f98b19bcce8b56ec6fc067702e211c36f19e88 (patch)
treec0f6faca6b07a140d3eecb3083a53cddea936649 /include
parent9b7711f0839d12edac3abfc2f3e4c5bdc660878b (diff)
x86: add safe_smp_processor_id for x86_64
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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/smp_64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/smp_64.h b/include/asm-x86/smp_64.h
index 6f0e0273b646..ab612b0ff270 100644
--- a/include/asm-x86/smp_64.h
+++ b/include/asm-x86/smp_64.h
@@ -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 */