x86: avoid multiple declaration of kstack_depth_to_print
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Tue, 14 Apr 2009 07:48:28 +0000 (13:18 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Apr 2009 09:45:33 +0000 (11:45 +0200)
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>
arch/x86/include/asm/traps.h
arch/x86/kernel/dumpstack.h

index 0d5342515b8696970ec533572055df8b98ef74a9..9aa3ab2620554aa89d0a0ccb39bd101f006c14b6 100644 (file)
@@ -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 *);
index da87590b8698a7c4642ad8e46febe2bf91972599..81086c227ab7cafe28c0c608f1b3eb2bce72b1c0 100644 (file)
@@ -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 {