diff options
author | Xu Qiang <xuqiang36@huawei.com> | 2022-07-19 09:36:41 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-19 16:51:56 +0300 |
commit | ef50cd57a73a8bbfad403e5e2edb3309611f58ad (patch) | |
tree | f97a6fceb73d4cf38a9ec17f5db4da8dbee91828 /kernel/irq/irqdesc.c | |
parent | 6f194c99f466147148cc08452718b46664112548 (diff) | |
download | linux-ef50cd57a73a8bbfad403e5e2edb3309611f58ad.tar.xz |
irqdomain: Use hwirq_max instead of revmap_size for NOMAP domains
NOMAP irq domains use the revmap_size field to indicate the maximum
hwirq number the domain accepts. This is a bit confusing as
revmap_size is usually used to indicate the size of the revmap array,
which a NOMAP domain doesn't have.
Instead, use the hwirq_max field which has the correct semantics, and
keep revmap_size to 0 for a NOMAP domain.
Signed-off-by: Xu Qiang <xuqiang36@huawei.com>
[maz: commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220719063641.56541-3-xuqiang36@huawei.com
Diffstat (limited to 'kernel/irq/irqdesc.c')
0 files changed, 0 insertions, 0 deletions