]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf2538df7b2d7d85130c3aeb4326adb582c9366a
tree51580c0727b91089f94865a28b8425745717b0ec
parentd71ca5d68bea67a3e4ced2a1e1a1de3aef2fc5aa
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