Skip to content

Commit 6d9727a

Browse files
paulburtonralfbaechle
authored andcommitted
MIPS: Add missing includes to gic.h
The gic.h header uses bitmaps and NR_CPUS, and should therefore include linux/bitmap.h and linux/threads.h. This is in preparation for use of this header in a subsequent commit from a C file which doesn't already include those headers. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6357/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 4dd8ee5 commit 6d9727a

File tree

1 file changed

+3
-0
lines changed
  • arch/mips/include/asm

1 file changed

+3
-0
lines changed

arch/mips/include/asm/gic.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#ifndef _ASM_GICREGS_H
1212
#define _ASM_GICREGS_H
1313

14+
#include <linux/bitmap.h>
15+
#include <linux/threads.h>
16+
1417
#undef GICISBYTELITTLEENDIAN
1518

1619
/* Constants */

0 commit comments

Comments
 (0)