xen/efi: Set nonblocking callbacks
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 27 Sep 2019 15:49:20 +0000 (16:49 +0100)
committerJuergen Gross <jgross@suse.com>
Tue, 1 Oct 2019 07:02:47 +0000 (09:02 +0200)
commitdf359f0d09dc029829b66322707a2f558cb720f7
tree51580c0727b91089f94865a28b8425745717b0ec
parenta4098bc6eed5e31e0391bcc068e61804c98138df
xen/efi: Set nonblocking callbacks

Other parts of the kernel expect these nonblocking EFI callbacks to
exist and crash when running under Xen. Since the implementations of
xen_efi_set_variable() and xen_efi_query_variable_info() do not take any
locks, use them for the nonblocking callbacks too.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/arm/xen/efi.c
arch/x86/xen/efi.c