]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[S390] Ensure that ipl panic notifier is called late.
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 26 Mar 2009 14:24:55 +0000 (15:24 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 26 Mar 2009 14:24:31 +0000 (15:24 +0100)
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>
arch/s390/kernel/ipl.c

index 2b901fb8193bda0f7800d1bd1671cb0f785d7720..56d876904ecc5328944132cfcad46bc729f98f8d 100644 (file)
@@ -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)