diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2010-05-05 13:56:42 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-05-12 11:23:34 +0200 |
commit | 4308ad801193f14ff42cb746da37cf07e35f0d08 (patch) | |
tree | d25466295270408c11a234658b70c43095aed4d3 /Documentation | |
parent | e7a297b0d7d6049bd4e423ac1e17da31e4c401b8 (diff) | |
download | linux-4308ad801193f14ff42cb746da37cf07e35f0d08.tar.gz linux-4308ad801193f14ff42cb746da37cf07e35f0d08.tar.bz2 linux-4308ad801193f14ff42cb746da37cf07e35f0d08.zip |
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 <peter.p.waskiewicz.jr@intel.com>
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 <tglx@linutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions