瀏覽代碼

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>
Hiroshi Shimamoto 17 年之前
父節點
當前提交
92f98b19bc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/asm-x86/smp_64.h

+ 2 - 0
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 */