]> git.baikalelectronics.ru Git - kernel.git/commit
stacktrace: Remove reliable argument from arch_stack_walk() callback
authorMark Brown <broonie@kernel.org>
Mon, 14 Sep 2020 15:34:07 +0000 (16:34 +0100)
committerWill Deacon <will@kernel.org>
Fri, 18 Sep 2020 13:24:16 +0000 (14:24 +0100)
commit261c39d416cfb2af4f9c6b0297224878da0ed797
tree91a27560607ce90fdd00e9bb46485a79975bf0c3
parentbeea5f8bd9170d3d0e6476d33bde88d795ce40b0
stacktrace: Remove reliable argument from arch_stack_walk() callback

Currently the callback passed to arch_stack_walk() has an argument called
reliable passed to it to indicate if the stack entry is reliable, a comment
says that this is used by some printk() consumers. However in the current
kernel none of the arch_stack_walk() implementations ever set this flag to
true and the only callback implementation we have is in the generic
stacktrace code which ignores the flag. It therefore appears that this
flag is redundant so we can simplify and clarify things by removing it.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/20200914153409.25097-2-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/s390/kernel/stacktrace.c
arch/x86/kernel/stacktrace.c
include/linux/stacktrace.h
kernel/stacktrace.c