drm/linux: Implement some spin_lock_irq* functions
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 24 Jun 2016 14:32:20 +0000 (16:32 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 24 Jun 2016 14:37:47 +0000 (16:37 +0200)
commita091726622ef3a14e8e277d974997d6d41910669
treec8cbd894c30dae14978194ca5b1215a0632463c4
parent9c559b0563f07fcb1ec4bb7ece56e5e64f8e6876
drm/linux: Implement some spin_lock_irq* functions

They are not just simple spin_lock/spin_unlock() variants but
disable hardware interrupt processing on the current cpu.

Suggested-by: Matt Macy <mmacy@nextbsd.org>
sys/dev/drm/include/linux/spinlock.h