Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/sandpoint Remove enable_intr() and disabl...



details:   https://anonhg.NetBSD.org/src/rev/425fa1413b30
branches:  trunk
changeset: 793352:425fa1413b30
user:      phx <phx%NetBSD.org@localhost>
date:      Fri Feb 07 08:51:34 2014 +0000

description:
Remove enable_intr() and disable_intr(), which are unused.

diffstat:

 sys/arch/sandpoint/sandpoint/locore.S |  16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diffs (30 lines):

diff -r eaa834dea32b -r 425fa1413b30 sys/arch/sandpoint/sandpoint/locore.S
--- a/sys/arch/sandpoint/sandpoint/locore.S     Fri Feb 07 02:36:06 2014 +0000
+++ b/sys/arch/sandpoint/sandpoint/locore.S     Fri Feb 07 08:51:34 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.23 2011/06/20 19:56:13 matt Exp $ */
+/*     $NetBSD: locore.S,v 1.24 2014/02/07 08:51:34 phx Exp $  */
 /*     $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $       */
 
 /*
@@ -129,20 +129,6 @@
 
 loop:  b       loop                    /* not reached */
 
-       .globl  _C_LABEL(enable_intr)
-_C_LABEL(enable_intr):
-       mfmsr   3
-       ori     3,3,PSL_EE@l
-       mtmsr   3
-       blr
-
-       .globl  _C_LABEL(disable_intr)
-_C_LABEL(disable_intr):
-       mfmsr   3
-       andi.   3,3,~PSL_EE@l
-       mtmsr   3
-       blr
-
        .globl  _C_LABEL(jump_to_ppc_reset_entry)
 _C_LABEL(jump_to_ppc_reset_entry):
        mfmsr   3



Home | Main Index | Thread Index | Old Index