Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b95df3b

Browse files
ambaruswilldeacon
authored andcommitted
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 <[email protected]> Signed-off-by: Tudor Ambarus <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent db32cf8 commit b95df3b

File tree

1 file changed

+2
-0
lines changed
  • arch/arm64/include/asm

1 file changed

+2
-0
lines changed

arch/arm64/include/asm/irq.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#ifndef __ASSEMBLER__
66

7+
#include <linux/cpumask.h>
8+
79
#include <asm-generic/irq.h>
810

911
void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu);

0 commit comments

Comments
 (0)