arm64: fpsimd: Consistently use __this_cpu_ ops where appropriate
authorDave Martin <Dave.Martin@arm.com>
Thu, 3 Aug 2017 16:23:21 +0000 (17:23 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Aug 2017 14:00:52 +0000 (15:00 +0100)
commit504641859e5c616210c0894149e09fb6928e398f
treeb16e8da2e6d0fa028ff6c2c95b51702d26d77828
parent0fc9179ad0bf2f97790c0568442299679ca346cf
arm64: fpsimd: Consistently use __this_cpu_ ops where appropriate

__this_cpu_ ops are not used consistently with regard to this_cpu_
ops in a couple of places in fpsimd.c.

Since preemption is explicitly disabled in
fpsimd_restore_current_state() and fpsimd_update_current_state(),
this patch converts this_cpu_ ops in those functions to __this_cpu_
ops.  This doesn't save cost on arm64, but benefits from additional
assertions in the core code.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/fpsimd.c