x86: fix RIP printout in early_idt_handler
commitdb24e2ebb4136d9e2f252ba61f460808fa57818c
authorJiri Slaby <jirislaby@gmail.com>
Sat, 3 Jan 2009 23:27:09 +0000 (4 00:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:35:45 +0000 (18 10:35 -0800)
tree0bd872646e3a15401c7fbe1f135129efb2b1fb48
parent4fe7c6090e1540063a64ea13f2f8bc6611e317d6
x86: fix RIP printout in early_idt_handler

commit 7aed55d1085f71241284a30af0300feea48c36db upstream.

Impact: fix debug/crash printout

Since errorcode is popped out, RIP is on the top of the stack.
Use real RIP value instead of wrong CS.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/head_64.S