Commit e7d43a74 authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar

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: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
LKML-Reference: <1239695308.3033.34.camel@ht.satnam>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3fa89ca7
...@@ -74,7 +74,6 @@ static inline int get_si_code(unsigned long condition) ...@@ -74,7 +74,6 @@ static inline int get_si_code(unsigned long condition)
} }
extern int panic_on_unrecovered_nmi; extern int panic_on_unrecovered_nmi;
extern int kstack_depth_to_print;
void math_error(void __user *); void math_error(void __user *);
void math_emulate(struct math_emu_info *); void math_emulate(struct math_emu_info *);
......
...@@ -29,7 +29,6 @@ show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs, ...@@ -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); unsigned long *sp, unsigned long bp, char *log_lvl);
extern unsigned int code_bytes; extern unsigned int code_bytes;
extern int kstack_depth_to_print;
/* The form of the top of the frame on the stack */ /* The form of the top of the frame on the stack */
struct stack_frame { struct stack_frame {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment