diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-04-10 17:27:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:55:20 -0400 |
commit | ff86714fda0310ad153a2ba4836067f195e1f0b9 (patch) | |
tree | 62b59fd6a48dca9b07d29cfa42d5a0afd080d030 /arch/mips/include | |
parent | 451b001b05551a2bf9ec4c2293f20e34a4520701 (diff) |
MIPS: Move 'gic_present' to common location.
Move the global variable 'gic_present' to be defined in the file
'arch/mips/kernel/irq-gic.c' instead of defining it individually
for each platform making use of the GIC. Also change the type to
be an unsigned integer instead of signed.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/gic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/gic.h b/arch/mips/include/asm/gic.h index bdc9786ab5a7..a05f97db0735 100644 --- a/arch/mips/include/asm/gic.h +++ b/arch/mips/include/asm/gic.h | |||
@@ -359,7 +359,7 @@ struct gic_shared_intr_map { | |||
359 | /* Mapped interrupt to pin X, then GIC will generate the vector (X+1). */ | 359 | /* Mapped interrupt to pin X, then GIC will generate the vector (X+1). */ |
360 | #define GIC_PIN_TO_VEC_OFFSET (1) | 360 | #define GIC_PIN_TO_VEC_OFFSET (1) |
361 | 361 | ||
362 | extern int gic_present; | 362 | extern unsigned int gic_present; |
363 | extern unsigned long _gic_base; | 363 | extern unsigned long _gic_base; |
364 | extern unsigned int gic_irq_base; | 364 | extern unsigned int gic_irq_base; |
365 | extern unsigned int gic_irq_flags[]; | 365 | extern unsigned int gic_irq_flags[]; |