aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2014-05-13 18:56:25 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2014-05-15 15:54:57 +0100
commitbc5eb20161ad742a38b7b4deda393e577ade669b (patch)
tree7d5d8c0a5d47083babe3be39c6a64e7d8466f1a0 /arch/x86/xen
parent79390289cfeb6d0f4295ca32a54630c93154428e (diff)
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 <drjones@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/enlighten.c1
1 files changed, 1 insertions, 0 deletions
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)