diff options
author | Will Deacon <will.deacon@arm.com> | 2014-07-10 15:40:09 +0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2014-07-18 13:21:17 +0400 |
commit | 5959e25729a521097856d71528504deda1e11584 (patch) | |
tree | ce4fc3bb9d6b573450ea8c947d94d49eaeb6dad3 /arch/arm64/kernel/cpu_ops.c | |
parent | ad789ba5f7086138461420d2156478d33fb61077 (diff) | |
download | linux-5959e25729a521097856d71528504deda1e11584.tar.xz |
arm64: fpsimd: avoid restoring fpcr if the contents haven't changed
Writing to the FPCR is commonly implemented as a self-synchronising
operation in the CPU, so avoid writing to the register when the saved
value matches that in the hardware already.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpu_ops.c')
0 files changed, 0 insertions, 0 deletions