summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2024-01-10 07:40:07 +0000
committerWill Deacon <will@kernel.org>2024-01-12 12:44:18 +0000
commitb95df3bd1ea31fadc9e1471a036b4c08199aa0f0 (patch)
tree95c1de7233c3c7e3423ba9e15b0212601e4453db /arch/arm64
parentdb32cf8e280b46726065c518e90761bb0229bacf (diff)
downloadlinux-b95df3bd1ea31fadc9e1471a036b4c08199aa0f0.tar.gz
linux-b95df3bd1ea31fadc9e1471a036b4c08199aa0f0.tar.bz2
linux-b95df3bd1ea31fadc9e1471a036b4c08199aa0f0.zip
arm64: irq: include <linux/cpumask.h>
Sorting include files in alphabetic order in drivers/tty/serial/samsung.c revealed the following error: In file included from drivers/tty/serial/samsung_tty.c:24: ./arch/arm64/include/asm/irq.h:9:43: error: unknown type name ‘cpumask_t’ 9 | void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu); | ^~~~~~~~~ Include cpumask.h to avoid unknown type errors for parents of irq.h that don't include cpumask.h. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20240110074007.4020016-1-tudor.ambarus@linaro.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/include/asm/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/irq.h b/arch/arm64/include/asm/irq.h
index 50ce8b697ff3..e93548914c36 100644
--- a/arch/arm64/include/asm/irq.h
+++ b/arch/arm64/include/asm/irq.h
@@ -4,6 +4,8 @@
#ifndef __ASSEMBLER__
+#include <linux/cpumask.h>
+
#include <asm-generic/irq.h>
void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu);