[ARM SMP] Fix a couple of warnings
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 2 Nov 2005 21:54:14 +0000 (21:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Nov 2005 21:54:14 +0000 (21:54 +0000)
Use *cpus_addr() to display the mask of pending/to be called CPUs.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c

index 45877f5d5717e2580570af7494528bbacaea4e02..b40915dcd5337a81fd6103242e80038353153505 100644 (file)
@@ -315,8 +315,8 @@ int smp_call_function_on_cpu(void (*func)(void *info), void *info, int retry,
                printk(KERN_CRIT
                       "CPU%u: smp_call_function timeout for %p(%p)\n"
                       "      callmap %lx pending %lx, %swait\n",
-                      smp_processor_id(), func, info, callmap, data.pending,
-                      wait ? "" : "no ");
+                      smp_processor_id(), func, info, *cpus_addr(callmap),
+                      *cpus_addr(data.pending), wait ? "" : "no ");
 
                /*
                 * TRACE