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:
32e107f
)
cpumask: convert for_each_cpumask() with for_each_cpu()
author
KOSAKI Motohiro
<kosaki.motohiro@jp.fujitsu.com>
Tue, 26 Jul 2011 23:08:44 +0000
(16:08 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:44 +0000
(16:49 -0700)
Adapt new API fashion.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/cpumask.c
patch
|
blob
|
history
diff --git
a/lib/cpumask.c
b/lib/cpumask.c
index
05d6aca
..
4f6425d
100644
(file)
--- a/
lib/cpumask.c
+++ b/
lib/cpumask.c
@@
-30,7
+30,7
@@
int __any_online_cpu(const cpumask_t *mask)
{
int cpu;
- for_each_cpu
_mask(cpu, *
mask) {
+ for_each_cpu
(cpu,
mask) {
if (cpu_online(cpu))
break;
}