]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Fix build for !SMP
authorArd Biesheuvel <ardb@kernel.org>
Sat, 22 Jan 2022 15:16:14 +0000 (16:16 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 22 Jan 2022 15:42:49 +0000 (15:42 +0000)
commit7e26cf3280c50a5ddac63787eb8d880990e84330
treecdaeb1dcccd71aa2092d233f2f050edd9f51ffb3
parent157299a6b74b10ad44ebd1611cd48e17c0129935
irqchip/gic-v3-its: Fix build for !SMP

Commit a88f9698a636 ("irqchip/gic-v3-its: Limit memreserve cpuhp state
lifetime") added a reference to cpus_booted_once_mask, which does not
exist on !SMP builds, breaking the build for such configurations.

Given the intent of the check, short circuit it to always pass.

Cc: Valentin Schneider <valentin.schneider@arm.com>
Fixes: a88f9698a636 ("irqchip/gic-v3-its: Limit memreserve cpuhp state lifetime")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220122151614.133766-1-ardb@kernel.org
drivers/irqchip/irq-gic-v3-its.c