Remove two obsolete comments that reference splhigh/splx.

This commit is contained in:
Warner Losh 2019-11-21 18:49:54 +00:00
parent c0632867ba
commit 5bebf8b402
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354972
2 changed files with 0 additions and 13 deletions

View File

@ -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 */

View File

@ -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;