commit | e580b8bc4316cbb8bbffb5ed7bf1e477064755ed | [log] [tgz] |
---|---|---|
author | Dave Martin <Dave.Martin@arm.com> | Mon Sep 18 09:40:12 2017 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Mon Sep 18 11:20:17 2017 +0100 |
tree | e8d012d76b5411cfef3cfec099deae716f9a8aa1 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
arm64: efi: Don't include EFI fpsimd save/restore code in non-EFI kernels __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. Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>