Skip to content

Commit

Permalink
[S390] Ensure that ipl panic notifier is called late.
Browse files Browse the repository at this point in the history
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: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Michael Holzheu authored and Martin Schwidefsky committed Mar 26, 2009
1 parent 2ac3307 commit 7e9b580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/kernel/ipl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ static int on_panic_notify(struct notifier_block *self,

static struct notifier_block on_panic_nb = {
.notifier_call = on_panic_notify,
.priority = 0,
.priority = INT_MIN,
};

void __init setup_ipl(void)
Expand Down

0 comments on commit 7e9b580

Please sign in to comment.