summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2010-01-03 12:44:34 +0000
committermrg <mrg@NetBSD.org>2010-01-03 12:44:34 +0000
commit48defd0739ff28eb5350cdfd095c915ba121eac7 (patch)
tree3a68cf3c364c4bbe0e2af090c9cc0676d5848581 /sys
parent346926608d364249038879a5b1012eec6752c8f8 (diff)
reinsert part of the code accidentally deleted by the previous change.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/locore.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/locore.s b/sys/arch/sparc/sparc/locore.s
index 66eadb12847..e221d2fda22 100644
--- a/sys/arch/sparc/sparc/locore.s
+++ b/sys/arch/sparc/sparc/locore.s
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.252 2010/01/03 12:39:22 mrg Exp $ */
+/* $NetBSD: locore.s,v 1.253 2010/01/03 12:44:34 mrg Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@@ -2722,6 +2722,9 @@ sparc_interrupt_common:
inc %o3
st %o3, [ %o2 + CPUINFO_IDEPTH ]
+ b 3f
+ st %fp, [%sp + CCFSZ + 16]
+
1: ld [%l4 + IH_CLASSIPL], %o2 ! ih->ih_classipl
rd %psr, %o3 ! (bits already shifted to PIL field)
andn %o3, PSR_PIL, %o3 ! %o3 = psr & ~PSR_PIL