]> git.baikalelectronics.ru Git - kernel.git/commit
xen/efi: have a common runtime setup function
authorJuergen Gross <jgross@suse.com>
Tue, 1 Oct 2019 08:25:34 +0000 (10:25 +0200)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Wed, 2 Oct 2019 14:31:07 +0000 (10:31 -0400)
commit5e2114926e58027873bc71867c533cdc7f5e50fa
tree2799212244a1c04afb33ba74b9c23390e559473f
parent178355b2bcd09e595a444782c28df1f050e8c992
xen/efi: have a common runtime setup function

Today the EFI runtime functions are setup in architecture specific
code (x86 and arm), with the functions themselves living in drivers/xen
as they are not architecture dependent.

As the setup is exactly the same for arm and x86 move the setup to
drivers/xen, too. This at once removes the need to make the single
functions global visible.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
[boris: "Dropped EXPORT_SYMBOL_GPL(xen_efi_runtime_setup)"]
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/arm/include/asm/xen/xen-ops.h [deleted file]
arch/arm/xen/Makefile
arch/arm/xen/efi.c [deleted file]
arch/arm/xen/enlighten.c
arch/arm64/include/asm/xen/xen-ops.h [deleted file]
arch/arm64/xen/Makefile
arch/x86/xen/efi.c
drivers/xen/efi.c
include/xen/xen-ops.h