diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-04-14 09:48:28 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-14 11:45:33 +0200 |
commit | e7d43a74cb07cbc4b8e9b5e4a914816b33fb0719 (patch) | |
tree | a4218aa6c48ae302df41f91f6df3e5ef94318ff5 | |
parent | x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before t... (diff) | |
download | linux-e7d43a74cb07cbc4b8e9b5e4a914816b33fb0719.tar.xz linux-e7d43a74cb07cbc4b8e9b5e4a914816b33fb0719.zip |
x86: avoid multiple declaration of kstack_depth_to_print
Impact: cleanup
asm/stacktrace.h is more appropriate so removing other 2 declarations.
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
LKML-Reference: <1239695308.3033.34.camel@ht.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/include/asm/traps.h | 1 | ||||
-rw-r--r-- | arch/x86/kernel/dumpstack.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 0d5342515b86..9aa3ab262055 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -74,7 +74,6 @@ static inline int get_si_code(unsigned long condition) } extern int panic_on_unrecovered_nmi; -extern int kstack_depth_to_print; void math_error(void __user *); void math_emulate(struct math_emu_info *); diff --git a/arch/x86/kernel/dumpstack.h b/arch/x86/kernel/dumpstack.h index da87590b8698..81086c227ab7 100644 --- a/arch/x86/kernel/dumpstack.h +++ b/arch/x86/kernel/dumpstack.h @@ -29,7 +29,6 @@ show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs, unsigned long *sp, unsigned long bp, char *log_lvl); extern unsigned int code_bytes; -extern int kstack_depth_to_print; /* The form of the top of the frame on the stack */ struct stack_frame { |