summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-04-29 21:19:25 +0000
committermiod <miod@openbsd.org>2003-04-29 21:19:25 +0000
commitaa4858a0918d7c4207d4ad4cc250708d3711ffeb (patch)
tree9481ef8afc5d199893100fa8766e603612d70881
parentGet rid of more unwanted pieces of code. (diff)
downloadwireguard-openbsd-aa4858a0918d7c4207d4ad4cc250708d3711ffeb.tar.xz
wireguard-openbsd-aa4858a0918d7c4207d4ad4cc250708d3711ffeb.zip
Do not define the sparc_interrupt44c symbol on sun4m-only kernel, this is
too confusing when you have not had enough coffee...
-rw-r--r--sys/arch/sparc/sparc/locore.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s
index 8c7a2f40825..85f079835bb 100644
--- a/sys/arch/sparc/sparc/locore.s
+++ b/sys/arch/sparc/sparc/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.56 2003/01/09 22:27:10 miod Exp $ */
+/* $OpenBSD: locore.s,v 1.57 2003/04/29 21:19:25 miod Exp $ */
/* $NetBSD: locore.s,v 1.73 1997/09/13 20:36:48 pk Exp $ */
/*
@@ -2409,8 +2409,10 @@ _C_LABEL(sparc_interrupt4m):
b,a softintr_common
#endif
+#if defined(SUN4) || defined(SUN4C)
.globl _C_LABEL(sparc_interrupt44c)
_C_LABEL(sparc_interrupt44c):
+#endif
_C_LABEL(sparc_interrupt_common):
INTR_SETUP(-CCFSZ-80)
std %g2, [%sp + CCFSZ + 24] ! save registers