summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/spl.h')
-rw-r--r--sys/i386/include/spl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/include/spl.h b/sys/i386/include/spl.h
index 0be9364..c916df3 100644
--- a/sys/i386/include/spl.h
+++ b/sys/i386/include/spl.h
@@ -1,7 +1,7 @@
#ifndef _MACHINE_IPL_H_
#define _MACHINE_IPL_H_
-#include "machine/../isa/ipl.h" /* XXX "machine" means cpu for i386 */
+#include <machine/ipl.h> /* XXX "machine" means cpu for i386 */
/*
* Software interrupt bit numbers in priority order. The priority only
@@ -75,12 +75,15 @@ static __inline int name(void) \
GENSPL(splbio, cpl |= bio_imask)
GENSPL(splclock, cpl = HWI_MASK | SWI_MASK)
GENSPL(splhigh, cpl = HWI_MASK | SWI_MASK)
+GENSPL(splstatclock, cpl = HWI_MASK | SWI_MASK)
GENSPL(splimp, cpl |= net_imask)
GENSPL(splnet, cpl |= SWI_NET_MASK)
GENSPL(splsoftclock, cpl = SWI_CLOCK_MASK)
GENSPL(splsofttty, cpl |= SWI_TTY_MASK)
GENSPL(spltty, cpl |= tty_imask)
+#define splnone() spl0()
+
static __inline void
spl0(void)
{
OpenPOWER on IntegriCloud