diff options
Diffstat (limited to 'drivers/parisc')
-rw-r--r-- | drivers/parisc/power.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/parisc/power.c b/drivers/parisc/power.c index fad5a33bf0fa..4a9f025a6b58 100644 --- a/drivers/parisc/power.c +++ b/drivers/parisc/power.c | |||
@@ -84,8 +84,7 @@ | |||
84 | 84 | ||
85 | static void deferred_poweroff(void *dummy) | 85 | static void deferred_poweroff(void *dummy) |
86 | { | 86 | { |
87 | extern int cad_pid; /* from kernel/sys.c */ | 87 | if (kill_cad_pid(SIGINT, 1)) { |
88 | if (kill_proc(cad_pid, SIGINT, 1)) { | ||
89 | /* just in case killing init process failed */ | 88 | /* just in case killing init process failed */ |
90 | machine_power_off(); | 89 | machine_power_off(); |
91 | } | 90 | } |