oprofile: fix oops on x86 32-bit
commit77f2878b4f78c0b29c4a2580665a446c77901152
authorJan Blunck <jblunck@suse.de>
Thu, 15 Nov 2007 01:00:42 +0000 (14 17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (14 18:45 -0800)
tree2a2d4171c9cce7c6b7f0bed410175c571157fda7
parent35d5d08a085c56f153458c3f5d8ce24123617faf
oprofile: fix oops on x86 32-bit

x86 32-bit isn't saving the stack pointer to pt_regs->esp when an
interrupt occurs.

Signed-off-by: Jan Blunck <jblunck@suse.de>
Tested-by: Robert Fitzsimons <robfitz@273k.net>
Cc: Andi Kleen <ak@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/ptrace.h