diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-01-14 02:00:37 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-01-14 02:00:37 +0000 |
| commit | d85a75f583feeae50135600d5ea8553e1c1194ff (patch) | |
| tree | 9443935c617b064199c227eb475ac74fa48b23ea /sys/arch/prep/include | |
| parent | 9d68beeb8ed126018ad4cdc976f915f5d869234c (diff) | |
Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
Diffstat (limited to 'sys/arch/prep/include')
| -rw-r--r-- | sys/arch/prep/include/intr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/prep/include/intr.h b/sys/arch/prep/include/intr.h index 8010247595f..0983a88119a 100644 --- a/sys/arch/prep/include/intr.h +++ b/sys/arch/prep/include/intr.h @@ -1,4 +1,4 @@ -/* $NetBSD: intr.h,v 1.5 2000/11/22 08:55:36 matt Exp $ */ +/* $NetBSD: intr.h,v 1.6 2001/01/14 02:00:42 thorpej Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -172,6 +172,7 @@ set_sint(pending) #define spltty() splraise(imask[IPL_TTY]) #define splclock() splraise(imask[IPL_CLOCK]) #define splimp() splraise(imask[IPL_IMP]) +#define splvm() splraise(imask[IPL_IMP]) #define splaudio() splraise(imask[IPL_AUDIO]) #define splserial() splraise(imask[IPL_SERIAL]) #define splstatclock() splclock() |
