]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64/sve: Switch sve_pffr() argument from task to thread
authorDave Martin <Dave.Martin@arm.com>
Thu, 12 Apr 2018 16:04:39 +0000 (17:04 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 25 May 2018 11:28:29 +0000 (12:28 +0100)
commit2cf97d46dafbbbbc9a9a3dc5eca01020c6be22d8
tree6f80e198663f7bd14bfbf432a79bc5b923dbad48
parent31dc52b3c8faf47bf3ff5ced661488a20e5d1811
arm64/sve: Switch sve_pffr() argument from task to thread

sve_pffr(), which is used to derive the base address used for
low-level SVE save/restore routines, currently takes the relevant
task_struct as an argument.

The only accessed fields are actually part of thread_struct, so
this patch changes the argument type accordingly.  This is done in
preparation for moving this function to a header, where we do not
want to have to include <linux/sched.h> due to the consequent
circular #include problems.

No functional change.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kernel/fpsimd.c