]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
xen/x86: set panic notifier priority to minimum
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 13 May 2014 16:56:25 +0000 (18:56 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 15 May 2014 14:54:57 +0000 (15:54 +0100)
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 <drjones@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/enlighten.c

index 201d09a7c46bbae56a21d15e56e222d67163f5ff..662bdcbbbd18edc74859fca4a620f6cc8a4bb000 100644 (file)
@@ -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)