[PATCH] arm64: efi: Don't include EFI fpsimd save/restore code in non-EFI kernels

Catalin Marinas catalin.marinas at arm.com
Thu Sep 7 09:29:18 PDT 2017


On Thu, Aug 31, 2017 at 04:33:26PM +0100, Dave P Martin wrote:
> __efi_fpsimd_begin()/__efi_fpsimd_end() are for use when making EFI
> calls only, so using them in non-EFI kernels is not allowed.
> 
> This patch compiles them out if CONFIG_EFI is not set.
> 
> Signed-off-by: Dave Martin <Dave.Martin at arm.com>

Queued for 4.14. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list