Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41003
b: refs/heads/master
c: 0796bdb
h: refs/heads/master
i:
  41001: ee7fc8f
  40999: 61a2ef1
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Nov 17, 2006
1 parent 0384f60 commit 970392c
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 4be703906cffd5902028d20626e636ba21fb0b61
refs/heads/master: 0796bdb7e9e4a48b401f4fba1ee5dc79a45528ef
6 changes: 6 additions & 0 deletions trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,12 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long * s
if (tsk && tsk != current)
stack = (unsigned long *)tsk->thread.rsp;
}
/*
* Align the stack pointer on word boundary, later loops
* rely on that (and corruption / debug info bugs can cause
* unaligned values here):
*/
stack = (unsigned long *)((unsigned long)stack & ~(sizeof(long)-1));

/*
* Print function call entries within a stack. 'cond' is the
Expand Down

0 comments on commit 970392c

Please sign in to comment.