diff options
author | 2017-09-18 09:40:12 +0100 | |
---|---|---|
committer | 2017-09-18 11:20:17 +0100 | |
commit | e580b8bc4316cbb8bbffb5ed7bf1e477064755ed (patch) | |
tree | e8d012d76b5411cfef3cfec099deae716f9a8aa1 /lib/iomap.c | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-e580b8bc4316cbb8bbffb5ed7bf1e477064755ed.tar.gz linux-e580b8bc4316cbb8bbffb5ed7bf1e477064755ed.tar.bz2 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 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions