Remove unused enable_intr()/disable_intr().
This commit is contained in:
parent
3b1ec3ef05
commit
47f6f75f98
@ -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 @@ __start_cpu0:
|
||||
|
||||
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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user