diff options
author | Hui Su <sh_def@163.com> | 2020-11-13 16:39:43 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-11-17 21:05:32 +0300 |
commit | 09a217c10504bcaef911cf2af74e424338efe629 (patch) | |
tree | 06a97823cb38f616aae914dc2dc523536d463582 /arch/x86/include/asm/stacktrace.h | |
parent | 4a2d2ed9bae16c14602e7aebba3f0c90f73fe786 (diff) | |
download | linux-09a217c10504bcaef911cf2af74e424338efe629.tar.xz |
x86/dumpstack: Make show_trace_log_lvl() static
show_trace_log_lvl() is not used by other compilation units so make it
static and remove the declaration from the header file.
Signed-off-by: Hui Su <sh_def@163.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201113133943.GA136221@rlk
Diffstat (limited to 'arch/x86/include/asm/stacktrace.h')
-rw-r--r-- | arch/x86/include/asm/stacktrace.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/stacktrace.h b/arch/x86/include/asm/stacktrace.h index 49600643faba..f248eb2ac2d4 100644 --- a/arch/x86/include/asm/stacktrace.h +++ b/arch/x86/include/asm/stacktrace.h @@ -88,9 +88,6 @@ get_stack_pointer(struct task_struct *task, struct pt_regs *regs) return (unsigned long *)task->thread.sp; } -void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs, - unsigned long *stack, const char *log_lvl); - /* The form of the top of the frame on the stack */ struct stack_frame { struct stack_frame *next_frame; |