aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip22/ip22-reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-reset.c')
-rw-r--r--arch/mips/sgi-ip22/ip22-reset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip22/ip22-reset.c b/arch/mips/sgi-ip22/ip22-reset.c
index 20363d29cb58..063c2dd31e72 100644
--- a/arch/mips/sgi-ip22/ip22-reset.c
+++ b/arch/mips/sgi-ip22/ip22-reset.c
@@ -101,7 +101,7 @@ static void debounce(unsigned long data)
101 del_timer(&debounce_timer); 101 del_timer(&debounce_timer);
102 if (sgint->istat1 & SGINT_ISTAT1_PWR) { 102 if (sgint->istat1 & SGINT_ISTAT1_PWR) {
103 /* Interrupt still being sent. */ 103 /* Interrupt still being sent. */
104 debounce_timer.expires = jiffies + (HZ / 20); /* 0.05s */ 104 debounce_timer.expires = jiffies + (HZ / 20); /* 0.05s */
105 add_timer(&debounce_timer); 105 add_timer(&debounce_timer);
106 106
107 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR | 107 sgioc->panel = SGIOC_PANEL_POWERON | SGIOC_PANEL_POWERINTR |
@@ -166,7 +166,7 @@ static irqreturn_t panel_int(int irq, void *dev_id)
166} 166}
167 167
168static int panic_event(struct notifier_block *this, unsigned long event, 168static int panic_event(struct notifier_block *this, unsigned long event,
169 void *ptr) 169 void *ptr)
170{ 170{
171 if (machine_state & MACHINE_PANICED) 171 if (machine_state & MACHINE_PANICED)
172 return NOTIFY_DONE; 172 return NOTIFY_DONE;