Skip to content

Commit

Permalink
MIPS: Add missing includes to gic.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Burton authored and Ralf Baechle committed Mar 6, 2014
1 parent 4dd8ee5 commit 6d9727a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/include/asm/gic.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
#ifndef _ASM_GICREGS_H
#define _ASM_GICREGS_H

#include <linux/bitmap.h>
#include <linux/threads.h>

#undef GICISBYTELITTLEENDIAN

/* Constants */
Expand Down

0 comments on commit 6d9727a

Please sign in to comment.