summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cs5535.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-02-24 15:53:25 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-03-16 12:54:21 +0100
commit0d639883ee26359e1bf38195df1dbca0f879e239 (patch)
tree6ff7b2284957af9efb3b7a3df3395d75c18cb366 /drivers/ata/pata_cs5535.c
parent7d86cf1a4fc0c0bdb6947185c6fe71301dfea7b1 (diff)
drm: make minors independent of global lock
We used to protect minor-lookup and setup by the global drm lock. To continue our attempts of dropping drm_global_mutex, this patch makes the minor management independent of it. Furthermore, we make it all atomic and switch to spin-locks instead of a mutex. Now that minor-lookup is independent, we also move the "drm_is_unplugged()" test into the minor-lookup path. There is no reason to ever return a minor for unplugged objects, so keep that logic internal. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'drivers/ata/pata_cs5535.c')
0 files changed, 0 insertions, 0 deletions