aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bitmap.c
diff options
context:
space:
mode:
authorXu Qiang <[email protected]>2022-07-19 06:36:41 +0000
committerMarc Zyngier <[email protected]>2022-07-19 13:51:56 +0000
commitef50cd57a73a8bbfad403e5e2edb3309611f58ad (patch)
treef97a6fceb73d4cf38a9ec17f5db4da8dbee91828 /tools/lib/bitmap.c
parentirqdomain: Report irq number for NOMAP domains (diff)
downloadkernel-ef50cd57a73a8bbfad403e5e2edb3309611f58ad.tar.gz
kernel-ef50cd57a73a8bbfad403e5e2edb3309611f58ad.zip
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 'tools/lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions