]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/shmobile: Turn the flush_lock mutex into a spinlock
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 17 Dec 2013 17:18:50 +0000 (18:18 +0100)
committerJoerg Roedel <joro@8bytes.org>
Tue, 7 Jan 2014 14:35:25 +0000 (15:35 +0100)
commit4436d43983af3732a8cd41e763b1c018a79b6d2b
tree66df432b82d2d7306d846d2e734ce65a823b5ab6
parent4502931ef92d1d4478cc8ceaee3fb5d321d619ae
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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/shmobile-ipmmu.c
drivers/iommu/shmobile-ipmmu.h