diff options
author | Jason Cooper <jason@lakedaemon.net> | 2015-03-15 01:41:26 +0000 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2015-03-15 01:41:26 +0000 |
commit | aaa95f74563a1c5a42db5fec43415b9a92ea7f7b (patch) | |
tree | 319e8916182a2cab4fa649213ab8b1b1b9d4d2f6 /drivers/irqchip/irq-gic-v3.c | |
parent | 5724be8464dceac047c1eaddaa3651cea0ec16ca (diff) | |
parent | 4559fbb3a9b1bde46afc739fa6c300826acdc19c (diff) | |
download | linux-aaa95f74563a1c5a42db5fec43415b9a92ea7f7b.tar.bz2 |
Merge branch 'irqchip/urgent-gic' into irqchip/urgent
Diffstat (limited to 'drivers/irqchip/irq-gic-v3.c')
-rw-r--r-- | drivers/irqchip/irq-gic-v3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index 1c6dea2fbc34..fd8850def1b8 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c @@ -466,7 +466,7 @@ static u16 gic_compute_target_list(int *base_cpu, const struct cpumask *mask, tlist |= 1 << (mpidr & 0xf); cpu = cpumask_next(cpu, mask); - if (cpu == nr_cpu_ids) + if (cpu >= nr_cpu_ids) goto out; mpidr = cpu_logical_map(cpu); |