summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-12 02:34:40 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-12 02:34:40 +0000
commit3bcefd7a7cf8e50af96427b7562828975283e8ee (patch)
treef9bc54676e05539d983a18e710ee9be44aad1ed5 /sys/arch/amd64
parent021463d27314b0a940efed9c675ef6e20524351e (diff)
remove IPL_IMP and splimp().
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/include/intr.h5
-rw-r--r--sys/arch/amd64/include/intrdefs.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/intr.h b/sys/arch/amd64/include/intr.h
index 40eb7e73049..5ff681d5b9d 100644
--- a/sys/arch/amd64/include/intr.h
+++ b/sys/arch/amd64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.6 2005/04/19 15:29:47 mickey Exp $ */
+/* $OpenBSD: intr.h,v 1.7 2006/03/12 02:34:39 brad Exp $ */
/* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
/*-
@@ -158,8 +158,7 @@ void softintr(int);
/*
* Miscellaneous
*/
-#define splimp() splraise(IPL_IMP)
-#define splvm() splraise(IPL_IMP)
+#define splvm() splraise(IPL_VM)
#define splhigh() splraise(IPL_HIGH)
#define spl0() spllower(IPL_NONE)
#define splsched() splraise(IPL_SCHED)
diff --git a/sys/arch/amd64/include/intrdefs.h b/sys/arch/amd64/include/intrdefs.h
index 83e814015d6..ad4f4a40c19 100644
--- a/sys/arch/amd64/include/intrdefs.h
+++ b/sys/arch/amd64/include/intrdefs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intrdefs.h,v 1.2 2004/06/25 17:27:01 andreas Exp $ */
+/* $OpenBSD: intrdefs.h,v 1.3 2006/03/12 02:34:39 brad Exp $ */
/* $NetBSD: intrdefs.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
#ifndef _i386_INTRDEFS_H
@@ -29,7 +29,6 @@
#define IPL_SOFTSERIAL 0x8 /* serial */
#define IPL_TTY 0x9 /* terminal */
#define IPL_VM 0xa /* memory allocation */
-#define IPL_IMP IPL_VM
#define IPL_AUDIO 0xb /* audio */
#define IPL_CLOCK 0xc /* clock */
#define IPL_SCHED IPL_CLOCK