ARM: XEN: Move xen_early_init() before efi_init()
authorShannon Zhao <shannon.zhao@linaro.org>
Thu, 7 Apr 2016 12:03:28 +0000 (20:03 +0800)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 6 Jul 2016 09:34:45 +0000 (10:34 +0100)
commit9b08aaa3199a4dffca73c7cdec813b483b5b2d3b
tree4270284902d30207db29261bde3079b9b9f16241
parentd22cbe651f6573f66c649d5ba91fb87552bbb297
ARM: XEN: Move xen_early_init() before efi_init()

Move xen_early_init() before efi_init(), then when calling efi_init()
could initialize Xen specific UEFI.

Check if it runs on Xen hypervisor through the flat dts.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Tested-by: Julien Grall <julien.grall@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/kernel/setup.c
arch/arm/xen/enlighten.c
arch/arm64/kernel/setup.c