Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43014
b: refs/heads/master
c: da68933
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Andi Kleen committed Dec 7, 2006
1 parent 0e930e4 commit 9b189af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb0d977ed42c79ed709c79dbab4ff2159941eb2a
refs/heads/master: da68933e0a999fb13636653c710cca701b457ad2
8 changes: 5 additions & 3 deletions trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
unsigned long *stack,
struct stacktrace_ops *ops, void *data)
{
const unsigned cpu = smp_processor_id();
const unsigned cpu = get_cpu();
unsigned long *irqstack_end = (unsigned long*)cpu_pda(cpu)->irqstackptr;
unsigned used = 0;
struct thread_info *tinfo;
Expand Down Expand Up @@ -286,11 +286,11 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
MSG("Leftover inexact backtrace:");
stack = (unsigned long *)UNW_SP(&info);
if (!stack)
return;
goto out;
} else
MSG("Full inexact backtrace again:");
} else if (call_trace >= 1)
return;
goto out;
else
MSG("Full inexact backtrace again:");
} else
Expand Down Expand Up @@ -385,6 +385,8 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
tinfo = current_thread_info();
HANDLE_STACK (valid_stack_ptr(tinfo, stack));
#undef HANDLE_STACK
out:
put_cpu();
}
EXPORT_SYMBOL(dump_trace);

Expand Down

0 comments on commit 9b189af

Please sign in to comment.