Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/bebox Remove unused enable_intr()/disable_intr().
details: https://anonhg.NetBSD.org/src/rev/41285acb8c1b
branches: trunk
changeset: 782197:41285acb8c1b
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sat Oct 20 12:13:46 2012 +0000
description:
Remove unused enable_intr()/disable_intr().
diffstat:
sys/arch/bebox/bebox/locore.S | 16 +---------------
sys/arch/bebox/include/intr.h | 6 +-----
2 files changed, 2 insertions(+), 20 deletions(-)
diffs (50 lines):
diff -r cbbe778690ed -r 41285acb8c1b sys/arch/bebox/bebox/locore.S
--- a/sys/arch/bebox/bebox/locore.S Sat Oct 20 11:58:45 2012 +0000
+++ b/sys/arch/bebox/bebox/locore.S Sat Oct 20 12:13:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.25 2011/08/07 15:44:59 kiyohara Exp $ */
+/* $NetBSD: locore.S,v 1.26 2012/10/20 12:13:46 kiyohara Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -157,20 +157,6 @@
loop: b loop /* XXX 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(debug_led)
_C_LABEL(debug_led):
lis 4, 0x8000
diff -r cbbe778690ed -r 41285acb8c1b sys/arch/bebox/include/intr.h
--- a/sys/arch/bebox/include/intr.h Sat Oct 20 11:58:45 2012 +0000
+++ b/sys/arch/bebox/include/intr.h Sat Oct 20 12:13:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.31 2011/08/07 15:13:07 kiyohara Exp $ */
+/* $NetBSD: intr.h,v 1.32 2012/10/20 12:13:46 kiyohara Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -37,10 +37,6 @@
#ifndef _LOCORE
-void enable_intr(void);
-void disable_intr(void);
-
-
#define ICU_LEN 32
#define IRQ_SLAVE 2
#define LEGAL_HWIRQ_P(x) ((u_int)(x) < ICU_LEN && (x) != IRQ_SLAVE)
Home |
Main Index |
Thread Index |
Old Index