From: Rusty Russell Date: Sat, 31 Jan 2009 12:51:24 +0000 (+1030) Subject: sched_rt: don't use first_cpu on cpumask created with cpumask_and X-Git-Tag: v2.6.29-rc4~68^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d398703ef06fd97b4c28c86b580546d5b57e7b7;p=pandora-kernel.git sched_rt: don't use first_cpu on cpumask created with cpumask_and cpumask_and() only initializes nr_cpu_ids bits, so the (deprecated) first_cpu() might find one of those uninitialized bits if nr_cpu_ids is less than NR_CPUS (as it can be for CONFIG_CPUMASK_OFFSTACK). Signed-off-by: Rusty Russell Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed