summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/kernel/reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sgi/kernel/reset.c')
-rw-r--r--arch/mips/sgi/kernel/reset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sgi/kernel/reset.c b/arch/mips/sgi/kernel/reset.c
index 4a89532a6..ace23da4f 100644
--- a/arch/mips/sgi/kernel/reset.c
+++ b/arch/mips/sgi/kernel/reset.c
@@ -1,4 +1,4 @@
-/* $Id: reset.c,v 1.4 1998/07/10 01:14:50 ralf Exp $
+/* $Id: reset.c,v 1.6 1999/04/10 12:21:30 ulfc Exp $
*
* Reset a SGI.
*
@@ -108,7 +108,7 @@ static void debounce(unsigned long data)
if (has_paniced)
prom_reboot();
- enable_irq(9);
+ enable_irq(SGI_PANEL_IRQ);
}
static inline void power_button(void)
@@ -185,7 +185,7 @@ static void panel_int(int irq, void *dev_id, struct pt_regs *regs)
hpc3mregs->panel = 3; /* power_interrupt | power_supply_on */
if (ioc_icontrol->istat1 & 2) { /* Wait until interrupt goes away */
- disable_irq(9);
+ disable_irq(SGI_PANEL_IRQ);
init_timer(&debounce_timer);
debounce_timer.function = debounce;
debounce_timer.expires = jiffies + 5;
@@ -239,7 +239,7 @@ void indy_reboot_setup(void)
_machine_halt = sgi_machine_halt;
_machine_power_off = sgi_machine_power_off;
- request_irq(9, panel_int, 0, "Front Panel", NULL);
+ request_irq(SGI_PANEL_IRQ, panel_int, 0, "Front Panel", NULL);
init_timer(&blink_timer);
blink_timer.function = blink_timeout;
notifier_chain_register(&panic_notifier_list, &panic_block);