]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic: Cleanup Franken-GIC handling
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Sep 2020 13:03:51 +0000 (14:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Sep 2020 15:37:29 +0000 (16:37 +0100)
commit206e55683a87bf8feca4eb510636b81209ccb40c
tree3f49f89e5fa0aaa0c2cb9f882b89f8acf449f1a1
parent781d331ee9a96a4725fe8b8374036b96c5cde7d8
irqchip/gic: Cleanup Franken-GIC handling

Introduce a static key identifying Samsung's unique creation, allowing
to replace the indirect call to compute the base addresses with
a simple test on the static key.

Faster, cheaper, negative diffstat.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/irqchip/irq-gic.c