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-sead3/sead3-int.c | |
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-sead3/sead3-int.c')
-rw-r--r-- | arch/mips/mti-sead3/sead3-int.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mti-sead3/sead3-int.c b/arch/mips/mti-sead3/sead3-int.c index e26e08274fc5..6a560ac03def 100644 --- a/arch/mips/mti-sead3/sead3-int.c +++ b/arch/mips/mti-sead3/sead3-int.c | |||
@@ -20,7 +20,6 @@ | |||
20 | #define SEAD_CONFIG_BASE 0x1b100110 | 20 | #define SEAD_CONFIG_BASE 0x1b100110 |
21 | #define SEAD_CONFIG_SIZE 4 | 21 | #define SEAD_CONFIG_SIZE 4 |
22 | 22 | ||
23 | int gic_present; | ||
24 | static unsigned long sead3_config_reg; | 23 | static unsigned long sead3_config_reg; |
25 | 24 | ||
26 | /* | 25 | /* |