Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=082f47a79bfc8a526b9a3e14a0ae9504fc09cc12
Commit:     082f47a79bfc8a526b9a3e14a0ae9504fc09cc12
Parent:     7b9c7b4d07fd8981193a2c4ecb650566f42d1219
Author:     Russell King <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 5 19:59:51 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Thu Jul 5 19:59:51 2007 +0100

    [ARM] always allow dump_stack() to produce a backtrace
    
    Don't make this dependent on CONFIG_DEBUG_KERNEL - if we hit a WARN_ON
    we need the stack trace to work out how we got to that point.
    
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 arch/arm/kernel/traps.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 1b68d36..237f499 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -181,9 +181,7 @@ static void dump_backtrace(struct pt_regs *regs, struct 
task_struct *tsk)
 
 void dump_stack(void)
 {
-#ifdef CONFIG_DEBUG_ERRORS
        __backtrace();
-#endif
 }
 
 EXPORT_SYMBOL(dump_stack);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to