]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: no need to explicitly register an NMI callback
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 16 Jun 2014 11:07:00 +0000 (13:07 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 18 Jun 2014 09:57:41 +0000 (10:57 +0100)
commit48c5655bc86e32d3acebfa942bddc7bb7b6c8a19
tree2084ba64995bc9df7615eaff0906c44aa42b9a71
parent8c05be29491af7eaab1fff9806fbf54419ebfc18
x86/xen: no need to explicitly register an NMI callback

Remove xen_enable_nmi() to fix a 64-bit guest crash when registering
the NMI callback on Xen 3.1 and earlier.

It's not needed since the NMI callback is set by a set_trap_table
hypercall (in xen_load_idt() or xen_write_idt_entry()).

It's also broken since it only set the current VCPU's callback.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Tested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
arch/x86/xen/setup.c