iommu/shmobile: Turn the flush_lock mutex into a spinlock
authorLaurent Pinchart <[email protected]>
Tue, 17 Dec 2013 17:18:50 +0000 (18:18 +0100)
committerJoerg Roedel <[email protected]>
Tue, 7 Jan 2014 14:35:25 +0000 (15:35 +0100)
commite87c621dced122a9a0a51b56944b08421d273c8f
tree66df432b82d2d7306d846d2e734ce65a823b5ab6
parentdc89f797abdbfc58dfb28af944f80f0299a8fafa
iommu/shmobile: Turn the flush_lock mutex into a spinlock

The lock is taken in atomic context, replace it with a spinlock.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/shmobile-ipmmu.c
drivers/iommu/shmobile-ipmmu.h