summaryrefslogtreecommitdiff
path: root/i386/i386/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/spl.h')
-rw-r--r--i386/i386/spl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386/i386/spl.h b/i386/i386/spl.h
index 2a3f1a3a..41ad225d 100644
--- a/i386/i386/spl.h
+++ b/i386/i386/spl.h
@@ -59,6 +59,7 @@ extern spl_t (splvm)(void);
extern spl_t (spl7)(void);
extern spl_t (splclock)(void);
extern spl_t (splsched)(void);
+#define assert_splsched() assert(splsched() == SPL7)
extern spl_t (splhigh)(void);
extern spl_t (splx)(spl_t n);