drm: Some drm_addmap() fixes
authorFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 9 Oct 2013 09:46:16 +0000 (11:46 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 9 Oct 2013 10:11:16 +0000 (12:11 +0200)
commit79d1f0c0d14abb481e63f71e00cc69f18cfab329
tree72719a5e902c09885364538b885212caa0c6e766
parentdf16f41a0d1be319469dd9bd2f3b79edada6c732
drm: Some drm_addmap() fixes

* Fix two warnings, moving some of the code to make the function more
  similar to drm_addmap_core() in Linux 3.8

* Remove some weirdly placed locking directives not present in Linux
sys/dev/drm/drm_bufs.c