OSDN Git Service

arm64: Copy the task argument to unwind_state
authorMadhavan T. Venkataraman <madvenka@linux.microsoft.com>
Fri, 17 Jun 2022 18:02:15 +0000 (13:02 -0500)
committerWill Deacon <will@kernel.org>
Mon, 27 Jun 2022 09:51:34 +0000 (10:51 +0100)
commit82a592c13b0aeff94d84d54183dae0b26384c95f
treec84bc337233ac958d07a71482c8467f730582e12
parenta019d8a2cc82a95880677fb0ec16d1d4e8647df7
arm64: Copy the task argument to unwind_state

Copy the task argument passed to arch_stack_walk() to unwind_state so that
it can be passed to unwind functions via unwind_state rather than as a
separate argument. The task is a fundamental part of the unwind state.

Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220617180219.20352-3-madvenka@linux.microsoft.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/stacktrace.c