]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe31bdc8d1fa933484a38b1e446b153194dac7f1
tree15ad3fbea0eaab3387310bfe0166394e8bf2ac22
parent7fd32aec64afa3e6c2ba6bcddfa54940e6bec1cc
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