diff options
author | Anup Patel <anup@brainfault.org> | 2019-02-12 18:22:45 +0530 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-02-21 10:32:17 +0000 |
commit | 6adfe8d2f5b353529d5a3a7842b764afbcd122e1 (patch) | |
tree | bd70721857ed9ec87b39dd9e05942a38f3527e93 /net/switchdev/switchdev.c | |
parent | 3fecb5aac2888814884881317ef139437338d8d0 (diff) |
irqchip/sifive-plic: Differentiate between PLIC handler and context
We explicitly differentiate between PLIC handler and context because
PLIC context is for given mode of HART whereas PLIC handler is per-CPU
software construct meant for handling interrupts from a particular
PLIC context.
To achieve this differentiation, we rename "nr_handlers" to "nr_contexts"
and "nr_mapped" to "nr_handlers" in plic_init().
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions