Forráskód Böngészése

[ARM SMP] Fix a couple of warnings

Use *cpus_addr() to display the mask of pending/to be called CPUs.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 19 éve
szülő
commit
273c2cdb2b
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      arch/arm/kernel/smp.c

+ 2 - 2
arch/arm/kernel/smp.c

@@ -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