Remove two obsolete comments that reference splhigh/splx.
This commit is contained in:
parent
edea32f5c8
commit
62112e75ec
@ -114,12 +114,6 @@ void user(void);
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/cpufunc.h>
|
||||
/*
|
||||
* splhigh() and splx() are heavyweight, and call mcount(). Therefore
|
||||
* we disabled interrupts (IRQ, but not FIQ) directly on the CPU.
|
||||
*
|
||||
* We're lucky that the CPSR and 's' both happen to be 'int's.
|
||||
*/
|
||||
#define MCOUNT_ENTER(s) {s = intr_disable(); } /* kill IRQ */
|
||||
#define MCOUNT_EXIT(s) {intr_restore(s); } /* restore old value */
|
||||
|
||||
|
@ -76,13 +76,6 @@
|
||||
".set at");
|
||||
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* The following two macros do splhigh and splx respectively.
|
||||
* They have to be defined this way because these are real
|
||||
* functions on the MIPS, and we do not want to invoke mcount
|
||||
* recursively.
|
||||
*/
|
||||
|
||||
#define MCOUNT_DECL(s) u_long s;
|
||||
#ifdef SMP
|
||||
extern int mcount_lock;
|
||||
|
Loading…
Reference in New Issue
Block a user