From: Radim Krčmář Date: Tue, 13 May 2014 16:56:25 +0000 (+0200) Subject: xen/x86: set panic notifier priority to minimum X-Git-Tag: firefly_0821_release~176^2~3537^2~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc5eb20161ad742a38b7b4deda393e577ade669b;p=firefly-linux-kernel-4.4.55.git xen/x86: set panic notifier priority to minimum Execution is not going to continue after telling Xen about the crash. Let other panic notifiers run by postponing the final hypercall as much as possible. Signed-off-by: Andrew Jones Signed-off-by: Radim Krčmář Signed-off-by: David Vrabel --- diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 201d09a7c46b..662bdcbbbd18 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -1339,6 +1339,7 @@ xen_panic_event(struct notifier_block *this, unsigned long event, void *ptr) static struct notifier_block xen_panic_block = { .notifier_call= xen_panic_event, + .priority = INT_MIN }; int xen_panic_handler_init(void)