Skip to contentSkip to conversation

x86: avoid multiple declaration of kstack_depth_to_print

PATCH In review Jaswinder Singh Rajput 1 participant 2 messages Apr 14, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: avoid multiple declaration of kstack_depth_to_print

Impact: cleanup

asm/stacktrace.h is more appropriate so removing other 2 declarations.

---
 arch/x86/include/asm/traps.h |    1 -
 arch/x86/kernel/dumpstack.h  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/include/asm/traps.h +0 -1
index 37fb07a..cbfdc26 100644
@@ -75,7 +75,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 *);
arch/x86/kernel/dumpstack.h +0 -1
index da87590..81086c2 100644
@@ -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 {
Signature · 1 line
1.6.0.6
#1 lore raw
Commit-ID:  e7d43a74cb07cbc4b8e9b5e4a914816b33fb0719
Gitweb:     http://git.kernel.org/tip/e7d43a74cb07cbc4b8e9b5e4a914816b33fb0719
Author:     Jaswinder Singh Rajput <[email protected]>
AuthorDate: Tue, 14 Apr 2009 13:18:28 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 14 Apr 2009 11:45:33 +0200

x86: avoid multiple declaration of kstack_depth_to_print

Impact: cleanup

asm/stacktrace.h is more appropriate so removing other 2 declarations.

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/traps.h |    1 -
 arch/x86/kernel/dumpstack.h  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/include/asm/traps.h +0 -1
index 0d53425..9aa3ab2 100644
@@ -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 *);
arch/x86/kernel/dumpstack.h +0 -1
index da87590..81086c2 100644
@@ -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 {