projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dd3cb
)
x86: fix RIP printout in early_idt_handler
author
Jiri Slaby
<jirislaby@gmail.com>
Sat, 3 Jan 2009 23:27:09 +0000
(
00:27
+0100)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 4 Jan 2009 09:20:29 +0000
(10:20 +0100)
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>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_64.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/head_64.S
b/arch/x86/kernel/head_64.S
index 26cfdc1d7c7fd9119e2c47c22af144e6f300f7eb..0e275d495563fa33d9fddce555a82a581fa8cff0 100644
(file)
--- a/
arch/x86/kernel/head_64.S
+++ b/
arch/x86/kernel/head_64.S
@@
-305,7
+305,7
@@
ENTRY(early_idt_handler)
call dump_stack
#ifdef CONFIG_KALLSYMS
leaq early_idt_ripmsg(%rip),%rdi
- movq
8
(%rsp),%rsi # get rip again
+ movq
0
(%rsp),%rsi # get rip again
call __print_symbol
#endif
#endif /* EARLY_PRINTK */