aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/process_32.c2
-rw-r--r--arch/x86/kernel/process_64.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/process_32.c b/arch/x86/kernel/process_32.c
index 4cf79567cdab..e658331edb6d 100644
--- a/arch/x86/kernel/process_32.c
+++ b/arch/x86/kernel/process_32.c
@@ -187,7 +187,7 @@ void __show_regs(struct pt_regs *regs, int all)
187 187
188void show_regs(struct pt_regs *regs) 188void show_regs(struct pt_regs *regs)
189{ 189{
190 __show_regs(regs, 1); 190 show_registers(regs);
191 show_trace(NULL, regs, &regs->sp, regs->bp); 191 show_trace(NULL, regs, &regs->sp, regs->bp);
192} 192}
193 193
diff --git a/arch/x86/kernel/process_64.c b/arch/x86/kernel/process_64.c
index ad535b683170..2386999bfcd2 100644
--- a/arch/x86/kernel/process_64.c
+++ b/arch/x86/kernel/process_64.c
@@ -226,8 +226,7 @@ void __show_regs(struct pt_regs *regs, int all)
226 226
227void show_regs(struct pt_regs *regs) 227void show_regs(struct pt_regs *regs)
228{ 228{
229 printk(KERN_INFO "CPU %d:", smp_processor_id()); 229 show_registers(regs);
230 __show_regs(regs, 1);
231 show_trace(NULL, regs, (void *)(regs + 1), regs->bp); 230 show_trace(NULL, regs, (void *)(regs + 1), regs->bp);
232} 231}
233 232