]> Git Repo - linux.git/commitdiff
m32r: Convert print_symbol to %pSR
authorJoe Perches <[email protected]>
Wed, 12 Dec 2012 18:18:57 +0000 (10:18 -0800)
committerJiri Kosina <[email protected]>
Mon, 29 Apr 2013 13:21:06 +0000 (15:21 +0200)
Use the new vsprintf extension to avoid any possible
message interleaving.

Signed-off-by: Joe Perches <[email protected]>
Acked-by: Hirokazu Takata <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
arch/m32r/kernel/traps.c

index 3bcb207e5b6d2611127ca3d85526735882db952a..9fe3467a51339a8565bed472d8444fc519dcc3de 100644 (file)
@@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack)
        printk("Call Trace: ");
        while (!kstack_end(stack)) {
                addr = *stack++;
-               if (__kernel_text_address(addr)) {
-                       printk("[<%08lx>] ", addr);
-                       print_symbol("%s\n", addr);
-               }
+               if (__kernel_text_address(addr))
+                       printk("[<%08lx>] %pSR\n", addr, (void *)addr);
        }
        printk("\n");
 }
This page took 0.056996 seconds and 4 git commands to generate.