OSDN Git Service

irqdomain: Make normal and nomap irqdomains exclusive
authorMarc Zyngier <maz@kernel.org>
Mon, 10 Sep 2018 17:33:46 +0000 (18:33 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Jun 2021 12:09:17 +0000 (13:09 +0100)
commit4f86a06e2d6ece5316e4c42fbf946ee22acb30f3
tree15ad3fbea0eaab3387310bfe0166394e8bf2ac22
parente37af8011a9631996e6cd32dd81a152708eee7d4
irqdomain: Make normal and nomap irqdomains exclusive

Direct mappings are completely exclusive of normal mappings, meaning
that we can refactor the code slightly so that we can get rid of
the revmap_direct_max_irq field and use the revmap_size field
instead, reducing the size of the irqdomain structure.

Signed-off-by: Marc Zyngier <maz@kernel.org>
include/linux/irqdomain.h
kernel/irq/irqdomain.c