summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/cpu_ops.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-07-10 15:40:09 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-07-18 13:21:17 +0400
commit5959e25729a521097856d71528504deda1e11584 (patch)
treece4fc3bb9d6b573450ea8c947d94d49eaeb6dad3 /arch/arm64/kernel/cpu_ops.c
parentad789ba5f7086138461420d2156478d33fb61077 (diff)
downloadlinux-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