From: Michael Holzheu Date: Thu, 26 Mar 2009 14:24:55 +0000 (+0100) Subject: [S390] Ensure that ipl panic notifier is called late. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e9b580e5f0644cd8952b6671fd5380fd430bca3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [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 Signed-off-by: Martin Schwidefsky --- 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, static struct notifier_block on_panic_nb = { .notifier_call = on_panic_notify, - .priority = 0, + .priority = INT_MIN, }; void __init setup_ipl(void)