Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ba53e37 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

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

parent 34ee4148
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -17,7 +17,6 @@
#endif
#endif


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


typedef unsigned long machreg_t;
typedef unsigned long machreg_t;


@@ -193,9 +192,9 @@ cont_nmi_dump(void)
	atomic_inc(&nmied_cpus);
	atomic_inc(&nmied_cpus);
#endif
#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
#ifdef REAL_NMI_SIGNAL
	/*
	/*