Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/walnut/walnut G/C unused enable_intr and disable_in...



details:   https://anonhg.NetBSD.org/src/rev/6226b99fbba6
branches:  trunk
changeset: 516745:6226b99fbba6
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Oct 29 01:57:49 2001 +0000

description:
G/C unused enable_intr and disable_intr functions.  Fix a whitespace nit.

diffstat:

 sys/arch/walnut/walnut/locore.S |  14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diffs (35 lines):

diff -r d48e8bac36c7 -r 6226b99fbba6 sys/arch/walnut/walnut/locore.S
--- a/sys/arch/walnut/walnut/locore.S   Mon Oct 29 01:53:59 2001 +0000
+++ b/sys/arch/walnut/walnut/locore.S   Mon Oct 29 01:57:49 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.2 2001/06/24 01:15:41 simonb Exp $        */
+/*     $NetBSD: locore.S,v 1.3 2001/10/29 01:57:49 simonb Exp $        */
 /*     $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $       */
 
 /*
@@ -353,7 +353,7 @@
        bl      _C_LABEL(lcsplx)
        stw     3,PCB_SPL(31)           /* save spl */
 
-       wrteei  0                       /* disable interrupts while  manipulating runque */
+       wrteei  0                       /* disable interrupts while manipulating runque */
        
 /* Find a new process */
        lis     8,_C_LABEL(sched_whichqs)@ha
@@ -511,16 +511,6 @@
        xor     3,3,3
        blr
 
-       .globl  _C_LABEL(enable_intr)
-_C_LABEL(enable_intr):
-       wrteei  1
-       blr
-
-       .globl  _C_LABEL(disable_intr)
-_C_LABEL(disable_intr):
-       wrteei  0
-       blr
-
        .globl  _C_LABEL(ppc4xx_reset)
 _C_LABEL(ppc4xx_reset):
        mfspr   3,SPR_DBCR0



Home | Main Index | Thread Index | Old Index