From: Andrew Morton Date: Sun, 25 Jun 2006 12:48:10 +0000 (-0700) Subject: [PATCH] for_each_cpu_mask() warning fix X-Git-Tag: v2.6.18-rc1~965 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de9adb615bddbdb786273c41ec3c03837e32fa5;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed