diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-12-17 18:18:50 +0100 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2014-01-07 15:35:25 +0100 |
commit | e87c621dced122a9a0a51b56944b08421d273c8f (patch) | |
tree | 66df432b82d2d7306d846d2e734ce65a823b5ab6 /drivers/iommu/shmobile-ipmmu.h | |
parent | iommu/shmobile: Allocate archdata with kzalloc() (diff) | |
download | linux-e87c621dced122a9a0a51b56944b08421d273c8f.tar.xz linux-e87c621dced122a9a0a51b56944b08421d273c8f.zip |
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>
Diffstat (limited to 'drivers/iommu/shmobile-ipmmu.h')
-rw-r--r-- | drivers/iommu/shmobile-ipmmu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/shmobile-ipmmu.h b/drivers/iommu/shmobile-ipmmu.h index 4d53684673e1..9524743ca1fb 100644 --- a/drivers/iommu/shmobile-ipmmu.h +++ b/drivers/iommu/shmobile-ipmmu.h @@ -14,7 +14,7 @@ struct shmobile_ipmmu { struct device *dev; void __iomem *ipmmu_base; int tlb_enabled; - struct mutex flush_lock; + spinlock_t flush_lock; const char * const *dev_names; unsigned int num_dev_names; }; |