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)
commit09515706857a7d5a2ffb5ce6a44c0bc7859a745b
tree2799212244a1c04afb33ba74b9c23390e559473f
parentec066de1a567169c4737a5933218c329cedf52bd
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