diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2024-07-05 12:54:29 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-07-05 12:54:29 +0100 |
commit | 080402007007ca1bed8bcb103625137a5c8446c6 (patch) | |
tree | 82ba978422aeaddfadc91e95666fe42fd345971e /arch | |
parent | 46800e38ef0e45a73839ded0347885ada2b4f7bb (diff) |
irqchip/gic-v3: Fix 'broken_rdists' unused warning when !SMP and !ACPI
Compiling the GICv3 driver on arm32 with CONFIG_SMP disabled
(CONFIG_ACPI is not available) generates an unused variable warning for
'broken_rdists'. Add a __maybe_unused attribute to silence the compiler.
Fixes: d633da5d3ab1 ("irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs")
Cc: <stable@vger.kernel.org> # .x
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions