xen/efi: Fix build with clang-5.0
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 13 Dec 2017 16:55:38 +0000 (16:55 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Dec 2017 10:59:26 +0000 (10:59 +0000)
commitc4f6ad4c5fd25cb0ccc0cdbe711db97e097f0407
treea46b906b7a40b8323f01db4cb17368e81d681ed3
parent61d458ba8c171809e8dd9abd19339c87f3f934ca
xen/efi: Fix build with clang-5.0

The clang-5.0 build is reliably failing with:

  Error: size of boot.o:.text is 0x01

which is because efi_arch_flush_dcache_area() exists as a single ret
instruction.  Mark it as __init like everything else in the files.

Spotted by Travis.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/arm/efi/efi-boot.h
xen/arch/x86/efi/efi-boot.h