浏览代码

MIPS: IP27: Remove code obfuscation by enter_panic_mode().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 年之前
父节点
当前提交
2ba53e3712
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      arch/mips/sgi-ip27/ip27-nmi.c

+ 2 - 3
arch/mips/sgi-ip27/ip27-nmi.c

@@ -17,7 +17,6 @@
 #endif
 
 #define CNODEID_NONE (cnodeid_t)-1
-#define enter_panic_mode()	spin_lock(&nmi_lock)
 
 typedef unsigned long machreg_t;
 
@@ -193,9 +192,9 @@ cont_nmi_dump(void)
 	atomic_inc(&nmied_cpus);
 #endif
 	/*
-	 * Use enter_panic_mode to allow only 1 cpu to proceed
+	 * Only allow 1 cpu to proceed
 	 */
-	enter_panic_mode();
+	spin_lock(&nmi_lock);
 
 #ifdef REAL_NMI_SIGNAL
 	/*