commit | 69146e7bfc38139a134c79a4ee6607c881891786 | [log] [tgz] |
---|---|---|
author | Zhen Lei <thunder.leizhen@huawei.com> | Fri Jun 26 09:32:58 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Wed Jul 08 17:24:38 2015 +0100 |
tree | 23c2479941f187e1ab2e7d8915c09ad517bcbc04 | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 [diff] |
iommu/arm-smmu: Fix the index calculation of strtab The element size of cfg->strtab is just one DWORD, so we should use a multiply operation instead of a shift when calculating the level 1 index. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Will Deacon <will.deacon@arm.com>