aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-07-27 13:36:54 -0400
committerTony Luck <tony.luck@intel.com>2005-07-27 13:36:54 -0400
commitc2834cf4746cf13501efc3489b1895bce58a4ccb (patch)
tree13614c2ed7ec156d8518fd5bff4e1c252fb05792 /drivers/char
parent05cb784c81a0fd1f97732156ea464bd392ce875a (diff)
parent9e566d8bd61f939b7f5d7d969f5b178571471cf9 (diff)
Auto merge with /home/aegl/GIT/linus
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/hangcheck-timer.c2
-rw-r--r--drivers/char/sysrq.c2
-rw-r--r--drivers/char/watchdog/eurotechwdt.c2
-rw-r--r--drivers/char/watchdog/pcwd.c4
-rw-r--r--drivers/char/watchdog/softdog.c2
-rw-r--r--drivers/char/watchdog/wdt.c2
-rw-r--r--drivers/char/watchdog/wdt_pci.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/drivers/char/hangcheck-timer.c b/drivers/char/hangcheck-timer.c
index 78e650fc5b41..81d811edf3c5 100644
--- a/drivers/char/hangcheck-timer.c
+++ b/drivers/char/hangcheck-timer.c
@@ -173,7 +173,7 @@ static void hangcheck_fire(unsigned long data)
173 } 173 }
174 if (hangcheck_reboot) { 174 if (hangcheck_reboot) {
175 printk(KERN_CRIT "Hangcheck: hangcheck is restarting the machine.\n"); 175 printk(KERN_CRIT "Hangcheck: hangcheck is restarting the machine.\n");
176 machine_restart(NULL); 176 emergency_restart();
177 } else { 177 } else {
178 printk(KERN_CRIT "Hangcheck: hangcheck value past margin!\n"); 178 printk(KERN_CRIT "Hangcheck: hangcheck value past margin!\n");
179 } 179 }
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c
index 12d563c648f7..feb25158c8ee 100644
--- a/drivers/char/sysrq.c
+++ b/drivers/char/sysrq.c
@@ -115,7 +115,7 @@ static void sysrq_handle_reboot(int key, struct pt_regs *pt_regs,
115 struct tty_struct *tty) 115 struct tty_struct *tty)
116{ 116{
117 local_irq_enable(); 117 local_irq_enable();
118 machine_restart(NULL); 118 emergency_restart();
119} 119}
120 120
121static struct sysrq_key_op sysrq_reboot_op = { 121static struct sysrq_key_op sysrq_reboot_op = {
diff --git a/drivers/char/watchdog/eurotechwdt.c b/drivers/char/watchdog/eurotechwdt.c
index d10e554a14d6..2a29a511df7f 100644
--- a/drivers/char/watchdog/eurotechwdt.c
+++ b/drivers/char/watchdog/eurotechwdt.c
@@ -167,7 +167,7 @@ static irqreturn_t eurwdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
167 printk(KERN_CRIT "Would Reboot.\n"); 167 printk(KERN_CRIT "Would Reboot.\n");
168#else 168#else
169 printk(KERN_CRIT "Initiating system reboot.\n"); 169 printk(KERN_CRIT "Initiating system reboot.\n");
170 machine_restart(NULL); 170 emergency_restart();
171#endif 171#endif
172 return IRQ_HANDLED; 172 return IRQ_HANDLED;
173} 173}
diff --git a/drivers/char/watchdog/pcwd.c b/drivers/char/watchdog/pcwd.c
index 592dca108866..6ebce3f2ef9c 100644
--- a/drivers/char/watchdog/pcwd.c
+++ b/drivers/char/watchdog/pcwd.c
@@ -344,7 +344,7 @@ static int pcwd_get_status(int *status)
344 *status |= WDIOF_OVERHEAT; 344 *status |= WDIOF_OVERHEAT;
345 if (temp_panic) { 345 if (temp_panic) {
346 printk (KERN_INFO PFX "Temperature overheat trip!\n"); 346 printk (KERN_INFO PFX "Temperature overheat trip!\n");
347 machine_power_off(); 347 kernel_power_off();
348 } 348 }
349 } 349 }
350 } else { 350 } else {
@@ -355,7 +355,7 @@ static int pcwd_get_status(int *status)
355 *status |= WDIOF_OVERHEAT; 355 *status |= WDIOF_OVERHEAT;
356 if (temp_panic) { 356 if (temp_panic) {
357 printk (KERN_INFO PFX "Temperature overheat trip!\n"); 357 printk (KERN_INFO PFX "Temperature overheat trip!\n");
358 machine_power_off(); 358 kernel_power_off();
359 } 359 }
360 } 360 }
361 } 361 }
diff --git a/drivers/char/watchdog/softdog.c b/drivers/char/watchdog/softdog.c
index 117903498a01..98c7578740e2 100644
--- a/drivers/char/watchdog/softdog.c
+++ b/drivers/char/watchdog/softdog.c
@@ -97,7 +97,7 @@ static void watchdog_fire(unsigned long data)
97 else 97 else
98 { 98 {
99 printk(KERN_CRIT PFX "Initiating system reboot.\n"); 99 printk(KERN_CRIT PFX "Initiating system reboot.\n");
100 machine_restart(NULL); 100 emergency_restart();
101 printk(KERN_CRIT PFX "Reboot didn't ?????\n"); 101 printk(KERN_CRIT PFX "Reboot didn't ?????\n");
102 } 102 }
103} 103}
diff --git a/drivers/char/watchdog/wdt.c b/drivers/char/watchdog/wdt.c
index 5684aa379886..1210ca0c425b 100644
--- a/drivers/char/watchdog/wdt.c
+++ b/drivers/char/watchdog/wdt.c
@@ -266,7 +266,7 @@ static irqreturn_t wdt_interrupt(int irq, void *dev_id, struct pt_regs *regs)
266 printk(KERN_CRIT "Would Reboot.\n"); 266 printk(KERN_CRIT "Would Reboot.\n");
267#else 267#else
268 printk(KERN_CRIT "Initiating system reboot.\n"); 268 printk(KERN_CRIT "Initiating system reboot.\n");
269 machine_restart(NULL); 269 emergency_restart();
270#endif 270#endif
271#else 271#else
272 printk(KERN_CRIT "Reset in 5ms.\n"); 272 printk(KERN_CRIT "Reset in 5ms.\n");
diff --git a/drivers/char/watchdog/wdt_pci.c b/drivers/char/watchdog/wdt_pci.c
index 7651deda928c..c80cb77b92fb 100644
--- a/drivers/char/watchdog/wdt_pci.c
+++ b/drivers/char/watchdog/wdt_pci.c
@@ -311,7 +311,7 @@ static irqreturn_t wdtpci_interrupt(int irq, void *dev_id, struct pt_regs *regs)
311 printk(KERN_CRIT PFX "Would Reboot.\n"); 311 printk(KERN_CRIT PFX "Would Reboot.\n");
312#else 312#else
313 printk(KERN_CRIT PFX "Initiating system reboot.\n"); 313 printk(KERN_CRIT PFX "Initiating system reboot.\n");
314 machine_restart(NULL); 314 emergency_restart(NULL);
315#endif 315#endif
316#else 316#else
317 printk(KERN_CRIT PFX "Reset in 5ms.\n"); 317 printk(KERN_CRIT PFX "Reset in 5ms.\n");