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/mti-malta | |
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/mti-malta')
-rw-r--r-- | arch/mips/mti-malta/malta-int.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c index e364af70e6cf..8e840c20629e 100644 --- a/arch/mips/mti-malta/malta-int.c +++ b/arch/mips/mti-malta/malta-int.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <asm/setup.h> | 47 | #include <asm/setup.h> |
48 | 48 | ||
49 | int gcmp_present = -1; | 49 | int gcmp_present = -1; |
50 | int gic_present; | ||
51 | static unsigned long _msc01_biu_base; | 50 | static unsigned long _msc01_biu_base; |
52 | static unsigned long _gcmp_base; | 51 | static unsigned long _gcmp_base; |
53 | static unsigned int ipi_map[NR_CPUS]; | 52 | static unsigned int ipi_map[NR_CPUS]; |