summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/reboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/reboot.c b/kernel/reboot.c
index c1f11d5e085e..faf1ff422634 100644
--- a/kernel/reboot.c
+++ b/kernel/reboot.c
@@ -1027,7 +1027,8 @@ void __hw_protection_trigger(const char *reason, int ms_until_forced,
{
static atomic_t allow_proceed = ATOMIC_INIT(1);
- pr_emerg("HARDWARE PROTECTION shutdown (%s)\n", reason);
+ pr_emerg("HARDWARE PROTECTION %s (%s)\n",
+ hw_protection_action_str(action), reason);
/* Shutdown should be initiated only once. */
if (!atomic_dec_and_test(&allow_proceed))