diff options
author | Maciej Sosnowski <maciej.sosnowski@intel.com> | 2009-02-03 07:26:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-03 07:26:57 (GMT) |
commit | eb4400e3a040b90a3ad805b01fcbc99a5f615c8f (patch) | |
tree | 07c71314d189e5d0688d97f1cd2b3b504eb4892b /include/linux/Kbuild | |
parent | ff01b9163655ace76b29b7ff2f56b25c32f795da (diff) | |
download | linux-fsl-qoriq-eb4400e3a040b90a3ad805b01fcbc99a5f615c8f.tar.xz |
dca: redesign locks to fix deadlocks
Change spin_locks to irqsave to prevent dead-locks.
Protect adding and deleting to/from dca_providers list.
Drop the lock during dca_sysfs_add_req() and dca_sysfs_remove_req() calls
as they might sleep (use GFP_KERNEL allocation).
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/Kbuild')
0 files changed, 0 insertions, 0 deletions