genirq: Encapsulate sparse bitmap handling
authorShanker Donthineni <sdonthineni@nvidia.com>
Fri, 19 May 2023 13:49:01 +0000 (08:49 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 24 May 2023 09:39:44 +0000 (11:39 +0200)
commit5e630aa8d9fcd4c0cb6d5d09422009533aba979a
tree15626c452949bd440e5f4dbf4ed44b1f9f52665a
parentbc06a9e0874239cb6d4eebcb0ecd1a91ad9272db
genirq: Encapsulate sparse bitmap handling

Move the open coded sparse bitmap handling into helper functions as
a preparatory step for converting the sparse interrupt management
to a maple tree.

No functional change.

Signed-off-by: Shanker Donthineni <sdonthineni@nvidia.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230519134902.1495562-3-sdonthineni@nvidia.com
kernel/irq/internals.h
kernel/irq/irqdesc.c