]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/irqchip/irq-gic-v3.c
irqchip/gic-v3: Fix missing "__init" for gic_smp_init()
authorIngo Rohloff <ingo.rohloff@lauterbach.com>
Wed, 22 Apr 2020 11:28:57 +0000 (13:28 +0200)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 May 2020 09:28:30 +0000 (10:28 +0100)
commit8a94c1ab34d53476617f83610521cfb6674db8d4
treea55ef343b6ae8f093209ac75b7551b7e9a214b1c
parentae0bb9fda405c881848f7f6e94d912b35f6e31d2
irqchip/gic-v3: Fix missing "__init" for gic_smp_init()

With an SMP configuration, gic_smp_init() calls set_smp_cross_call().
set_smp_cross_call() is marked with "__init".
So gic_smp_init() should also be marked with "__init".
gic_smp_init() is only called from gic_init_bases().
gic_init_bases() is also marked with "__init";
So marking gic_smp_init() with "__init" is fine.

Signed-off-by: Ingo Rohloff <ingo.rohloff@lauterbach.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200422112857.4300-1-ingo.rohloff@lauterbach.com
drivers/irqchip/irq-gic-v3.c