summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-25 03:47:00 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-25 03:47:00 +0000
commit56c2c106627e812ad22b73ebf18f575e5d335f65 (patch)
tree21f154fb4535a842c3ad2c404da02c5157de9386 /sys/arch/powerpc
parent0c8d68bf548328baaa9af3486f60951ac9d27834 (diff)
Remove leftovers of a past softintr mechanism.
OK mpi@, kettenis@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/intr.h6
-rw-r--r--sys/arch/powerpc/powerpc/softintr.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/powerpc/include/intr.h b/sys/arch/powerpc/include/intr.h
index 7ddcfafda04..d0b3f727c4d 100644
--- a/sys/arch/powerpc/include/intr.h
+++ b/sys/arch/powerpc/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.52 2015/09/13 14:06:40 kettenis Exp $ */
+/* $OpenBSD: intr.h,v 1.53 2017/07/25 03:46:59 visa Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom, Opsycon AB and RTMX Inc, USA.
@@ -155,10 +155,6 @@ void softintr_init(void);
void softintr_schedule(void *);
void dosoftint(int);
-#define setsoftclock() set_sint(SI_TO_IRQBIT(SI_SOFTCLOCK))
-#define setsoftnet() set_sint(SI_TO_IRQBIT(SI_SOFTNET))
-#define setsofttty() set_sint(SI_TO_IRQBIT(SI_SOFTTTY))
-
#define splhigh() splraise(IPL_HIGH)
#define spl0() spllower(IPL_NONE)
diff --git a/sys/arch/powerpc/powerpc/softintr.c b/sys/arch/powerpc/powerpc/softintr.c
index 5b40afc07fd..42ddf896362 100644
--- a/sys/arch/powerpc/powerpc/softintr.c
+++ b/sys/arch/powerpc/powerpc/softintr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softintr.c,v 1.8 2015/09/06 17:43:42 deraadt Exp $ */
+/* $OpenBSD: softintr.c,v 1.9 2017/07/25 03:46:59 visa Exp $ */
/* $NetBSD: softintr.c,v 1.2 2003/07/15 00:24:39 lukem Exp $ */
/*
@@ -47,8 +47,6 @@
struct soft_intrq soft_intrq[SI_NQUEUES];
-struct soft_intrhand *softnet_intrhand;
-
/*
* Initialize the software interrupt system.
*/