From: Rusty Russell Date: Mon, 29 Dec 2008 22:35:16 +0000 (+1030) Subject: cpumask: make set_cpu_*/init_cpu_* out-of-line X-Git-Tag: v2.6.29-rc1~521^2~11^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fa41520696fec2815e2d88fbcccdda77ba4d693;p=pandora-kernel.git cpumask: make set_cpu_*/init_cpu_* out-of-line They're only for use in boot/cpu hotplug code anyway, and this avoids the use of deprecated cpu_*_map. Stephen Rothwell points out that gcc 4.2.4 (on powerpc at least) didn't like the cast away of const anyway: include/linux/cpumask.h: In function 'set_cpu_possible': include/linux/cpumask.h:1052: warning: passing argument 2 of 'cpumask_set_cpu' discards qualifiers from pointer target type So this kills two birds with one stone. Signed-off-by: Rusty Russell --- Reading git-diff-tree failed