aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/generic_mpih-rshift.c
diff options
context:
space:
mode:
authorXu Qiang <[email protected]>2022-07-19 06:36:41 +0000
committerMarc Zyngier <[email protected]>2022-07-19 14:51:56 +0100
commitef50cd57a73a8bbfad403e5e2edb3309611f58ad (patch)
treef97a6fceb73d4cf38a9ec17f5db4da8dbee91828 /lib/mpi/generic_mpih-rshift.c
parent6f194c99f466147148cc08452718b46664112548 (diff)
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 <[email protected]> [maz: commit message] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions