OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f512e
)
[ARM SMP] Fix a couple of warnings
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Wed, 2 Nov 2005 21:54:14 +0000
(21:54 +0000)
committer
Russell 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
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/smp.c
b/arch/arm/kernel/smp.c
index
45877f5
..
b40915d
100644
(file)
--- a/
arch/arm/kernel/smp.c
+++ b/
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