Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31105
b: refs/heads/master
c: 7380534
h: refs/heads/master
i:
  31103: 6dc0bab
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jun 29, 2006
1 parent 258a404 commit e2f34d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: c406abd3a6d0cf5ce8db4db155a729a28fb98c4f
refs/heads/master: 7380534314865528ef080593b291bba32fba60e8
8 changes: 3 additions & 5 deletions trunk/arch/s390/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,11 @@ void show_stack(struct task_struct *task, unsigned long *sp)
unsigned long *stack;
int i;

// debugging aid: "show_stack(NULL);" prints the
// back trace for this cpu.

if (!sp)
sp = task ? (unsigned long *) task->thread.ksp : __r15;
stack = task ? (unsigned long *) task->thread.ksp : __r15;
else
stack = sp;

stack = sp;
for (i = 0; i < kstack_depth_to_print; i++) {
if (((addr_t) stack & (THREAD_SIZE-1)) == 0)
break;
Expand Down

0 comments on commit e2f34d7

Please sign in to comment.