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>
Showing
- arch/arm/include/asm/xen/xen-ops.h 0 additions, 6 deletionsarch/arm/include/asm/xen/xen-ops.h
- arch/arm/xen/Makefile 0 additions, 1 deletionarch/arm/xen/Makefile
- arch/arm/xen/efi.c 0 additions, 30 deletionsarch/arm/xen/efi.c
- arch/arm/xen/enlighten.c 0 additions, 1 deletionarch/arm/xen/enlighten.c
- arch/arm64/include/asm/xen/xen-ops.h 0 additions, 7 deletionsarch/arm64/include/asm/xen/xen-ops.h
- arch/arm64/xen/Makefile 0 additions, 1 deletionarch/arm64/xen/Makefile
- arch/x86/xen/efi.c 1 addition, 15 deletionsarch/x86/xen/efi.c
- drivers/xen/efi.c 47 additions, 37 deletionsdrivers/xen/efi.c
- include/xen/xen-ops.h 1 addition, 24 deletionsinclude/xen/xen-ops.h
arch/arm/include/asm/xen/xen-ops.h
deleted
100644 → 0
arch/arm/xen/efi.c
deleted
100644 → 0
arch/arm64/include/asm/xen/xen-ops.h
deleted
100644 → 0
Please register or sign in to comment