diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-03-10 14:37:07 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:11:49 -0700 |
| commit | 25252ab2ab8cc183a20f81c868f6355d7ade301a (patch) | |
| tree | c6df1c1d61a64488c9b8a6dce900c73c7692cba3 /include/linux | |
| parent | 6864dee3f0252b5c08a0741e55d9d714a4e8987f (diff) | |
iommu/arm-smmu: convert domain spinlock to a mutex
We'd like to use the domain lock to protect against a race condition
where the domain's device pointer is used after the domain has been
detached from the device. In order to prepare for this, change the
domain lock to a mutex, since we'll be holding during times where we
need to do non-atomic operations (like enabling clocks).
Change-Id: Ib57812851487c0f0c4833c65f0b1c63e010385bf
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
