MIPS: Add missing includes to gic.h
authorPaul Burton <paul.burton@imgtec.com>
Wed, 15 Jan 2014 10:31:48 +0000 (10:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 20:25:22 +0000 (21:25 +0100)
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>
arch/mips/include/asm/gic.h

index b2e3e93dd7d88c570a6267b621cbf4521748e8c8..0827166905899db5c49042d0b2fa089810d46ef4 100644 (file)
@@ -11,6 +11,9 @@
 #ifndef _ASM_GICREGS_H
 #define _ASM_GICREGS_H
 
+#include <linux/bitmap.h>
+#include <linux/threads.h>
+
 #undef GICISBYTELITTLEENDIAN
 
 /* Constants */