From: Peter P Waskiewicz Jr Date: Wed, 5 May 2010 20:56:42 +0000 (-0700) Subject: genirq: Clear CPU mask in affinity_hint when none is provided X-Git-Tag: v2.6.35-rc1~496^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4308ad801193f14ff42cb746da37cf07e35f0d08;p=pandora-kernel.git genirq: Clear CPU mask in affinity_hint when none is provided When an interrupt is disabled and torn down, the CPU mask returned through affinity_hint right now is all CPUs. Also, for drivers that don't provide an affinity_hint mask, this can be misleading. There should be no hint at all, meaning an empty CPU mask. [ tglx: use zalloc_cpumask_var instead of clearing it under the lock ] Signed-off-by: Peter P Waskiewicz Jr Cc: davem@davemloft.net Cc: arjan@linux.jf.intel.com Cc: bhutchings@solarflare.com LKML-Reference: <20100505205638.5426.87189.stgit@ppwaskie-hc2.jf.intel.com> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed