Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297402
b: refs/heads/master
c: 65c0ff4
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Ingo Molnar committed Mar 24, 2012
1 parent afa3113 commit 6599329
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 4da7072ad6831a35a11341097ce477e18651bedd
refs/heads/master: 65c0ff4079c011232e795e62c74a0a95512b7ac3
7 changes: 5 additions & 2 deletions trunk/arch/x86/kernel/dumpstack.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ print_ftrace_graph_addr(unsigned long addr, void *data,
const struct stacktrace_ops *ops,
struct thread_info *tinfo, int *graph)
{
struct task_struct *task = tinfo->task;
struct task_struct *task;
unsigned long ret_addr;
int index = task->curr_ret_stack;
int index;

if (addr != (unsigned long)return_to_handler)
return;

task = tinfo->task;
index = task->curr_ret_stack;

if (!task->ret_stack || index < *graph)
return;

Expand Down

0 comments on commit 6599329

Please sign in to comment.