arm64/signal: Make interface for restore_fpsimd_context() consistent
authorMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 22:20:41 +0000 (22:20 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 Feb 2023 17:56:47 +0000 (17:56 +0000)
commit4e4e93045fe1ad83dce7448690458b7f73669044
treedfcbc83612dee9a5496bc3bca7fc06cdfaf722fa
parent0eb23720f29e4e7010c4b5195cf0d6500921a146
arm64/signal: Make interface for restore_fpsimd_context() consistent

Instead of taking a pointer to struct user_ctxs like the other two
restore_blah_context() functions the FPSIMD function takes a pointer to the
user struct it should read. Change it to be consistent with the rest, both
for consistency and to prepare for changes which avoid rereading data that
has already been read by the core parsing code.

There should be no functional change from this patch.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221212-arm64-signal-cleanup-v3-3-4545c94b20ff@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/signal.c