diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-24 17:05:44 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-24 17:05:44 +0000 |
commit | 3b7b43961a353a75efdf8bd63add6dcc54689025 (patch) | |
tree | 23ca4cefe59e79212d39ba057adb587f92edea57 /sys/arch/i386 | |
parent | 4c832e32c4828dd3d4f5d00cf248f10b78100512 (diff) |
Define splvm() for arches who don't already provide it, with the same
definition as splimp().
art@ ok
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/include/intr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index ae52dad0b15..30ebfd44ed5 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.6 2000/08/05 22:07:31 niklas Exp $ */ +/* $OpenBSD: intr.h,v 1.7 2001/06/24 17:05:36 miod Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -141,6 +141,7 @@ spllower(ncpl) * Miscellaneous */ #define splimp() splraise(imask[IPL_IMP]) +#define splvm() splraise(imask[IPL_IMP]) #define splhigh() splraise(imask[IPL_HIGH]) #define spl0() spllower(0) |