Commit 7e9b580e authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky

[S390] Ensure that ipl panic notifier is called late.

The s390 ipl panic notifier will stop the system or trigger a system dump.
This should be done as final action on the panic path. All other panic
notifiers should be executed before. Currently we use priority 0 for the ipl
notifier. In order to be called late, this patch changes the priority to
INT_MIN which is the lowest possible priority.
Signed-off-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 2ac3307f
...@@ -1722,7 +1722,7 @@ static int on_panic_notify(struct notifier_block *self, ...@@ -1722,7 +1722,7 @@ static int on_panic_notify(struct notifier_block *self,
static struct notifier_block on_panic_nb = { static struct notifier_block on_panic_nb = {
.notifier_call = on_panic_notify, .notifier_call = on_panic_notify,
.priority = 0, .priority = INT_MIN,
}; };
void __init setup_ipl(void) void __init setup_ipl(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment