drm2: remove DRM_SPINXXX macros
authorFrançois Tigeot <ftigeot@wolfpond.org>
Sat, 10 Aug 2013 21:51:04 +0000 (23:51 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 12 Aug 2013 07:24:48 +0000 (09:24 +0200)
commit2ebde2718e60e34abf285eb65871d9e35ca5d251
treea48a6e1198554df404beb859523b6274edce1eae
parentd0d6a61f4d5375a371f76abf22734fdc049e8d33
drm2: remove DRM_SPINXXX macros

* They did not apply 1:1 to DragonFly locking directives; keeping them
  in the drivers would have meant lockmgr locks would have had to be be
  used in situations where spinlocks could have done the job.

* Besides the obvious performance pessimization issues, they had the
  unfortunate effect of obscuring the source code

* The original DRM code in the Linux kernel doesn't even use them, they
  were purely a FreeBSD addition
sys/dev/drm2/drmP.h
sys/dev/drm2/drm_bufs.c
sys/dev/drm2/drm_dma.c
sys/dev/drm2/drm_drawable.c
sys/dev/drm2/drm_drv.c
sys/dev/drm2/drm_sysctl.c
sys/dev/drm2/drm_vm.c