Module Name: src
Committed By: nakayama
Date: Sat Oct 17 20:03:06 UTC 2009
Modified Files:
src/sys/arch/sparc64/sparc64: locore.s
Log Message:
Wrap unused code with #if 0 which is called from #if 0'ed code.
To generate a diff of this commit:
cvs rdiff -u -r1.291 -r1.292 src/sys/arch/sparc64/sparc64/locore.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/sparc64/sparc64/locore.s
diff -u src/sys/arch/sparc64/sparc64/locore.s:1.291 src/sys/arch/sparc64/sparc64/locore.s:1.292
--- src/sys/arch/sparc64/sparc64/locore.s:1.291 Sat May 30 16:52:32 2009
+++ src/sys/arch/sparc64/sparc64/locore.s Sat Oct 17 20:03:06 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.291 2009/05/30 16:52:32 martin Exp $ */
+/* $NetBSD: locore.s,v 1.292 2009/10/17 20:03:06 nakayama Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath
@@ -1165,6 +1165,7 @@
UTRAP(0x1f0); UTRAP(0x1f1); UTRAP(0x1f2); UTRAP(0x1f3); UTRAP(0x1f4); UTRAP(0x1f5); UTRAP(0x1f6); UTRAP(0x1f7)
UTRAP(0x1f8); UTRAP(0x1f9); UTRAP(0x1fa); UTRAP(0x1fb); UTRAP(0x1fc); UTRAP(0x1fd); UTRAP(0x1fe); UTRAP(0x1ff)
+#if 0
/*
* If the cleanwin trap handler detects an overfow we come here.
* We need to fix up the window registers, switch to the interrupt
@@ -1190,6 +1191,7 @@
.asciz "Kernel stack overflow!"
_ALIGN
.text
+#endif
#ifdef DEBUG
#define CHKREG(r) \
@@ -4155,7 +4157,6 @@
bne,pn CCCR, 1b
EMPTY
2:
-
add %sp, CC64FSZ+STKB, %o2 ! tf = %sp + CC64FSZ + STKB
LDPTR [%l2 + IH_PEND], %l7 ! save ih->ih_pending
membar #LoadStore