aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorLina Iyer <[email protected]>2015-10-28 21:19:50 +0000
committerRafael J. Wysocki <[email protected]>2015-11-02 01:26:17 +0000
commit2547923d1cc38b4b55c538e450411586acc39ac6 (patch)
tree237a3455cf5bd251b0d5c9ea8ecddc93a7edecab /drivers/fpga/fpga-mgr.c
parentPM / Domains: Remove dev->driver check for runtime PM (diff)
downloadkernel-2547923d1cc38b4b55c538e450411586acc39ac6.tar.gz
kernel-2547923d1cc38b4b55c538e450411586acc39ac6.zip
PM / Domains: Allocate memory outside domain locks
In preparation for supporting IRQ-safe domains, allocate domain data outside the domain locks. These functions are not called in an atomic context, so we can always allocate memory using GFP_KERNEL. By allocating memory before the locks, we can safely lock the domain using spinlocks instead of mutexes. Reviewed-by: Kevin Hilman <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Lina Iyer <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions