arm64: fpsimd: Simplify uses of {set,clear}_ti_thread_flag()
authorDave Martin <Dave.Martin@arm.com>
Tue, 31 Oct 2017 15:50:59 +0000 (15:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 3 Nov 2017 15:24:13 +0000 (15:24 +0000)
commit9cf5b54fafedbc381df77c7f8d2aab61f4900657
treef7e1a1ab85b5ea35575386fb88244bab67aeb839
parent38b9aeb32fa732a0678cc0078ea3f4829a3cb89b
arm64: fpsimd: Simplify uses of {set,clear}_ti_thread_flag()

The existing FPSIMD context switch code contains a couple of
instances of {set,clear}_ti_thread(task_thread_info(task)).  Since
there are thread flag manipulators that operate directly on
task_struct, this verbosity isn't strictly needed.

For consistency, this patch simplifies the affected calls.  This
should have no impact on behaviour.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/fpsimd.c