diff options
author | Andrew Morton <akpm@osdl.org> | 2006-06-25 05:48:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:12 -0700 |
commit | 9de9adb615bddbdb786273c41ec3c03837e32fa5 (patch) | |
tree | d9c37e52c032f9bbb2da5f55868a79b299e58d25 /include/linux/shm.h | |
parent | eab98702afa567927c9b052499b43acad2f25a1c (diff) |
[PATCH] for_each_cpu_mask() warning fix
On UP, this:
cpumask_t mask = node_to_cpumask(numa_node_id());
for_each_cpu_mask(cpu, mask)
does this:
mm/readahead.c: In function `node_readahead_aging':
mm/readahead.c:850: warning: unused variable `mask'
which is unpleasantly fixed by this:
Acked-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/shm.h')
0 files changed, 0 insertions, 0 deletions