Module Name: src
Committed By: matt
Date: Wed Dec 22 05:59:14 UTC 2010
Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: mipsX_subr.S
Log Message:
Just call splcheck directly. The stub fixer will make it right.
To generate a diff of this commit:
cvs rdiff -u -r1.26.36.1.2.35 -r1.26.36.1.2.36 \
src/sys/arch/mips/mips/mipsX_subr.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/mips/mipsX_subr.S
diff -u src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.35 src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.36
--- src/sys/arch/mips/mips/mipsX_subr.S:1.26.36.1.2.35 Fri Aug 20 03:21:41 2010
+++ src/sys/arch/mips/mips/mipsX_subr.S Wed Dec 22 05:59:13 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.35 2010/08/20 03:21:41 matt Exp $ */
+/* $NetBSD: mipsX_subr.S,v 1.26.36.1.2.36 2010/12/22 05:59:13 matt Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@@ -665,8 +665,7 @@
/*
* Verify our existing interrupt level.
*/
- PTR_L t9, _C_LABEL(mips_splsw) + SPLSW_SPLCHECK
- jalr t9
+ jal _C_LABEL(splcheck)
nop
#endif /* PARANOIA */
@@ -733,8 +732,7 @@
/*
* Verify our existing interrupt level.
*/
- PTR_L t9, _C_LABEL(mips_splsw) + SPLSW_SPLCHECK
- jalr t9
+ jal _C_LABEL(splcheck)
nop
#endif /* PARANOIA */
@@ -1106,8 +1104,7 @@
/*
* Verify the current interrupt level
*/
- PTR_L t9, _C_LABEL(mips_splsw) + SPLSW_SPLCHECK
- jalr t9
+ jal _C_LABEL(splcheck)
nop
#endif /* PARANOIA */
@@ -1277,8 +1274,7 @@
11: bne t2, t1, 11b # loop forever is unequal
nop
- PTR_L t9, _C_LABEL(mips_splsw) + SPLSW_SPLCHECK
- jalr t9
+ jal _C_LABEL(splcheck)
nop
#endif /* PARANOIA */