The patch titled Subject: arm64-implement-stack_trace_save_shadow-fix has been added to the -mm tree. Its filename is arm64-implement-stack_trace_save_shadow-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/arm64-implement-stack_trace_save_shadow-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/arm64-implement-stack_trace_save_shadow-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: arm64-implement-stack_trace_save_shadow-fix add ifdefs to arch/arm64/kernel/stacktrace.c Cc: Andrey Konovalov <andreyknvl@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/arm64/kernel/stacktrace.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/kernel/stacktrace.c~arm64-implement-stack_trace_save_shadow-fix +++ a/arch/arm64/kernel/stacktrace.c @@ -213,6 +213,7 @@ noinline notrace void arch_stack_walk(st walk_stackframe(task, &frame, consume_entry, cookie); } +#ifdef CONFIG_SHADOW_CALL_STACK static const struct { unsigned long ** __percpu saved; unsigned long ** __percpu base; @@ -293,3 +294,4 @@ out: preempt_enable(); return len; } +#endif /* CONFIG_SHADOW_CALL_STACK */ _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch arm64-implement-stack_trace_save_shadow-fix.patch mm-shmem-make-shmem_init-return-void-fix.patch ksm-count-ksm-merging-pages-for-each-process-fix.patch mm-memory_hotplug-refactor-hotadd_init_pgdat-and-try_online_node-checkpatch-fixes.patch proc-fix-dentry-inode-overinstantiating-under-proc-pid-net-checkpatch-fixes.patch add-fat-messages-to-printk-index-checkpatch-fixes.patch linux-next-rejects.patch linux-next-git-rejects.patch mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch b.patch