All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -tip] x86: avoid multiple declaration of kstack_depth_to_print
@ 2009-04-14  7:48 Jaswinder Singh Rajput
  2009-04-14 10:01 ` [tip:x86/cleanups] " tip-bot for Jaswinder Singh Rajput
  0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-04-14  7:48 UTC (permalink / raw)
  To: Ingo Molnar, x86 maintainers, Neil Horman, LKML

Impact: cleanup

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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
 arch/x86/include/asm/traps.h |    1 -
 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 37fb07a..cbfdc26 100644
--- a/arch/x86/include/asm/traps.h
+++ b/arch/x86/include/asm/traps.h
@@ -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 *);
diff --git a/arch/x86/kernel/dumpstack.h b/arch/x86/kernel/dumpstack.h
index da87590..81086c2 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 {
-- 
1.6.0.6




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-14 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14  7:48 [PATCH -tip] x86: avoid multiple declaration of kstack_depth_to_print Jaswinder Singh Rajput
2009-04-14 10:01 ` [tip:x86/cleanups] " tip-bot for Jaswinder Singh Rajput

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.