aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2009-03-26 10:24:55 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:31 -0400
commit7e9b580e5f0644cd8952b6671fd5380fd430bca3 (patch)
treee5837e0eac0e4e7edb34cf9dd379d7ed4e2523dd /arch/s390/kernel/ipl.c
parent2ac3307f275c2a91af0417e16d2cfb95ae478661 (diff)
[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: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r--arch/s390/kernel/ipl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index 2b901fb8193b..56d876904ecc 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -1722,7 +1722,7 @@ static int on_panic_notify(struct notifier_block *self,
1722 1722
1723static struct notifier_block on_panic_nb = { 1723static struct notifier_block on_panic_nb = {
1724 .notifier_call = on_panic_notify, 1724 .notifier_call = on_panic_notify,
1725 .priority = 0, 1725 .priority = INT_MIN,
1726}; 1726};
1727 1727
1728void __init setup_ipl(void) 1728void __init setup_ipl(void)