Skip to content

Commit bd5552b

Browse files
madvenka786ctmarinas
authored andcommitted
arm64: stacktrace: align with common naming
For historical reasons, the naming of parameters and their types in the arm64 stacktrace code differs from that used in generic code and other architectures, even though the types are equivalent. For consistency and clarity, use the generic names. There should be no functional change as a result of this patch. Signed-off-by: Madhavan T. Venkataraman <[email protected]> Signed-off-by: Mark Rutland <[email protected]> Reviewed-by: Mark Brown <[email protected]> Reviewed-by: Kalesh Singh <[email protected]> for the series. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent e9d75a0 commit bd5552b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/kernel/stacktrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,12 @@ NOKPROBE_SYMBOL(unwind_next);
159159

160160
static void notrace unwind(struct task_struct *tsk,
161161
struct unwind_state *state,
162-
bool (*fn)(void *, unsigned long), void *data)
162+
stack_trace_consume_fn consume_entry, void *cookie)
163163
{
164164
while (1) {
165165
int ret;
166166

167-
if (!fn(data, state->pc))
167+
if (!consume_entry(cookie, state->pc))
168168
break;
169169
ret = unwind_next(tsk, state);
170170
if (ret < 0)

0 commit comments

Comments
 (0)