x86: Merge show_regs()
authorBrian Gerst <brgerst@gmail.com>
Wed, 13 Jan 2010 15:45:55 +0000 (10:45 -0500)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 13 Jan 2010 17:23:15 +0000 (09:23 -0800)
commit3bef444797f7624f8fbd27f4e0334ce96a108725
tree7489fdd232f1d678bc960bb25ffd7b13c1053f1c
parent2ca49b2fcf5813571663c3c4c894b78148c43690
x86: Merge show_regs()

Using kernel_stack_pointer() allows 32-bit and 64-bit versions to
be merged.  This is more correct for 64-bit, since the old %rsp is
always saved on the stack.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
LKML-Reference: <1263397555-27695-1-git-send-email-brgerst@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/process.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c