mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
arm-smmu: Fix compilation issue in CB interrupt selftest
The IRQ array for struct arm_smmu_device no longer includes the global interrupts, i.e. it only tracks CB interrupts, such that num_global_irqs is unneeded and no longer exists. Remove a reference to it in the interrupt selftest when indexing the IRQ array. Change-Id: I838ab51cf9c41cbc1778918b2c52ffc7b515dde4 Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
This commit is contained in:
parent
6b336c3191
commit
f03416cc7d
|
|
@ -221,7 +221,7 @@ static void arm_smmu_interrupt_selftest(struct arm_smmu_device *smmu)
|
|||
u32 reg_orig;
|
||||
int irq_cnt;
|
||||
|
||||
irq = smmu->irqs[smmu->num_global_irqs + cb];
|
||||
irq = smmu->irqs[cb];
|
||||
cb_data->cbndx = cb;
|
||||
|
||||
ret = request_threaded_irq(irq, NULL, arm_smmu_cf_selftest,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user