summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-31 21:39:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-31 21:39:57 +0000
commite427229895bf7380905f9c1916ce7111a59e5359 (patch)
treef9f3c9b1f9d4ecf5ab5406e958129c7a1aa776e3 /sys/arch
parent7bbc70ff8f5d035b748582648b0f6f2f2b3ab9aa (diff)
there is no spllpt(), since lpt's are just tty devices (call tty functions,
and thus should be using spltty() from Matthew Dempsky ok oga guenther
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/include/intr.h3
-rw-r--r--sys/arch/amd64/include/intr.h6
-rw-r--r--sys/arch/sparc64/include/psl.h7
3 files changed, 3 insertions, 13 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h
index f9dd2fb2e41..3844cc24272 100644
--- a/sys/arch/alpha/include/intr.h
+++ b/sys/arch/alpha/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.35 2010/04/23 03:50:20 miod Exp $ */
+/* $OpenBSD: intr.h,v 1.36 2010/05/31 21:39:55 deraadt Exp $ */
/* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */
/*-
@@ -181,7 +181,6 @@ int _splraise(int);
#define splstatclock() _splraise(IPL_CLOCK)
#define splhigh() _splraise(IPL_HIGH)
-#define spllpt() spltty()
#define spllock() splhigh()
#define splsched() splhigh()
diff --git a/sys/arch/amd64/include/intr.h b/sys/arch/amd64/include/intr.h
index 5361c4d7af0..81e1bcdc753 100644
--- a/sys/arch/amd64/include/intr.h
+++ b/sys/arch/amd64/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.18 2009/08/22 02:54:50 mk Exp $ */
+/* $OpenBSD: intr.h,v 1.19 2010/05/31 21:39:56 deraadt Exp $ */
/* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */
/*-
@@ -135,10 +135,6 @@ void softintr(int);
#define splstatclock() splclock()
#define splipi() splraise(IPL_IPI)
-#define spllpt() spltty()
-
-#define spllpt() spltty()
-
/*
* Software interrupt masks
*/
diff --git a/sys/arch/sparc64/include/psl.h b/sys/arch/sparc64/include/psl.h
index a84cea7791e..bd7406f4e0b 100644
--- a/sys/arch/sparc64/include/psl.h
+++ b/sys/arch/sparc64/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.26 2009/03/15 19:40:40 miod Exp $ */
+/* $OpenBSD: psl.h,v 1.27 2010/05/31 21:39:56 deraadt Exp $ */
/* $NetBSD: psl.h,v 1.20 2001/04/13 23:30:05 thorpej Exp $ */
/*
@@ -51,7 +51,6 @@
#define PIL_BIO 5
#define PIL_VIDEO 5
#define PIL_TTY 6
-#define PIL_LPT 6
#define PIL_NET 6
#define PIL_VM 7
#define PIL_AUD 8
@@ -418,9 +417,6 @@ SPLHOLD(splnet, PIL_NET)
/* tty input runs at software level 6 */
SPLHOLD(spltty, PIL_TTY)
-/* parallel port runs at software level 6 */
-SPLHOLD(spllpt, PIL_LPT)
-
/*
* Memory allocation (must be as high as highest network, tty, or disk device)
*/
@@ -456,7 +452,6 @@ SPLHOLD(splhigh, PIL_HIGH)
#define splbio() splbioX(__FILE__, __LINE__)
#define splnet() splnetX(__FILE__, __LINE__)
#define spltty() splttyX(__FILE__, __LINE__)
-#define spllpt() spllptX(__FILE__, __LINE__)
#define splvm() splvmX(__FILE__, __LINE__)
#define splclock() splclockX(__FILE__, __LINE__)
#define splfd() splfdX(__FILE__, __LINE__)