6 #include <linux/kernel.h>
8 #include <linux/reboot.h>
11 #include <asm/hypervisor.h>
13 #include <asm/oplib.h>
19 static int hv_supports_soft_state;
21 static void do_set_sstate(
unsigned long state,
const char *
msg)
25 if (!hv_supports_soft_state)
31 "state[%lx] msg[%s], err=%lu\n",
74 .notifier_call = sstate_reboot_call,
85 .notifier_call = sstate_panic_event,
89 static int __init sstate_init(
void)
101 hv_supports_soft_state = 1;
108 &sstate_panic_block);
116 static int __init sstate_running(
void)