sparc: Fixed typo in sstate.c. Replaced panicing with panicking
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4bbc84ffd1
commit
5d0e770577
|
@ -43,8 +43,8 @@ static const char poweroff_msg[32] __attribute__((aligned(32))) =
|
||||||
"Linux powering off";
|
"Linux powering off";
|
||||||
static const char rebooting_msg[32] __attribute__((aligned(32))) =
|
static const char rebooting_msg[32] __attribute__((aligned(32))) =
|
||||||
"Linux rebooting";
|
"Linux rebooting";
|
||||||
static const char panicing_msg[32] __attribute__((aligned(32))) =
|
static const char panicking_msg[32] __attribute__((aligned(32))) =
|
||||||
"Linux panicing";
|
"Linux panicking";
|
||||||
|
|
||||||
static int sstate_reboot_call(struct notifier_block *np, unsigned long type, void *_unused)
|
static int sstate_reboot_call(struct notifier_block *np, unsigned long type, void *_unused)
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@ static struct notifier_block sstate_reboot_notifier = {
|
||||||
|
|
||||||
static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr)
|
static int sstate_panic_event(struct notifier_block *n, unsigned long event, void *ptr)
|
||||||
{
|
{
|
||||||
do_set_sstate(HV_SOFT_STATE_TRANSITION, panicing_msg);
|
do_set_sstate(HV_SOFT_STATE_TRANSITION, panicking_msg);
|
||||||
|
|
||||||
return NOTIFY_DONE;
|
return NOTIFY_DONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue