[SPARC64]: Use orderly_poweroff().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
#include <linux/delay.h>
|
||||
#include <linux/mutex.h>
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/reboot.h>
|
||||
#include <linux/cpu.h>
|
||||
|
||||
#include <asm/ldc.h>
|
||||
#include <asm/vio.h>
|
||||
#include <asm/power.h>
|
||||
#include <asm/mdesc.h>
|
||||
#include <asm/head.h>
|
||||
#include <asm/irq.h>
|
||||
@@ -328,7 +328,7 @@ static void domain_shutdown_data(struct ldc_channel *lp,
|
||||
|
||||
ds_send(lp, &pkt, sizeof(pkt));
|
||||
|
||||
wake_up_powerd();
|
||||
orderly_poweroff(true);
|
||||
}
|
||||
|
||||
struct ds_panic_req {
|
||||
@@ -1133,8 +1133,6 @@ static int __devinit ds_probe(struct vio_dev *vdev,
|
||||
|
||||
ds_info = dp;
|
||||
|
||||
start_powerd();
|
||||
|
||||
return err;
|
||||
|
||||
out_free_ldc:
|
||||
|
Reference in New Issue
Block a user