diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-09-18 10:40:12 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-09-18 12:20:17 +0200 |
commit | e580b8bc4316cbb8bbffb5ed7bf1e477064755ed (patch) | |
tree | e8d012d76b5411cfef3cfec099deae716f9a8aa1 /samples | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-e580b8bc4316cbb8bbffb5ed7bf1e477064755ed.tar.xz linux-e580b8bc4316cbb8bbffb5ed7bf1e477064755ed.zip |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions