x86: push old stack address on irqstack for unwinder
commita67798cd7bb130bf37f5ffb28f3260f4c10232db
authorMartin Hicks <mort@sgi.com>
Fri, 30 Jan 2009 16:50:54 +0000 (30 10:50 -0600)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 3 Feb 2009 05:18:03 +0000 (2 21:18 -0800)
tree4f6e19711f02fd0b860cb428a264eee15b6b3ff1
parent10b888d6cec2688e65e9e128b14bf98ecd199da2
x86: push old stack address on irqstack for unwinder

Impact: Fixes dumpstack and KDB on 64 bits

This re-adds the old stack pointer to the top of the irqstack to help
with unwinding.  It was removed in commit d99015b1abbad743aa049b439c1e1dede6d0fa49
as part of the save_args out-of-line work.

Both dumpstack and KDB require this information.

Signed-off-by: Martin Hicks <mort@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/entry_64.S