Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 423
b: refs/heads/master
c: 24dc6ea
h: refs/heads/master
i:
  421: a9bdb49
  419: eae3a83
  415: 0c297ca
v: v3
  • Loading branch information
Tom 'spot' Callaway authored and David S. Miller committed Apr 25, 2005
1 parent 5e63189 commit c9d787e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 205a7edad99d68d57dfcbf9bdda1a6fb7c33169e
refs/heads/master: 24dc6ead53f8fcae4b1908c4ea3fea75ee844a6d
11 changes: 11 additions & 0 deletions trunk/arch/sparc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,17 @@ void show_stack(struct task_struct *tsk, unsigned long *_ksp)
printk("\n");
}

void dump_stack(void)
{
unsigned long *ksp;

__asm__ __volatile__("mov %%fp, %0"
: "=r" (ksp));
show_stack(current, ksp);
}

EXPORT_SYMBOL(dump_stack);

/*
* Note: sparc64 has a pretty intricated thread_saved_pc, check it out.
*/
Expand Down

0 comments on commit c9d787e

Please sign in to comment.