Skip to content

Commit

Permalink
MIPS: IP27: Remove code obfuscation by enter_panic_mode().
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 27, 2010
1 parent 34ee414 commit 2ba53e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/mips/sgi-ip27/ip27-nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#endif

#define CNODEID_NONE (cnodeid_t)-1
#define enter_panic_mode() spin_lock(&nmi_lock)

typedef unsigned long machreg_t;

Expand Down Expand Up @@ -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
/*
Expand Down

0 comments on commit 2ba53e3

Please sign in to comment.