mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
MIPS: IP27: Remove code obfuscation by enter_panic_mode().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
34ee414847
commit
2ba53e3712
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue