diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-04-10 17:27:50 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:55:20 -0400 |
commit | 28ea215186d365408756577e9e612ee334e26f8e (patch) | |
tree | 313d4f853f118cfab861d4f872093b355676f120 /arch/mips/kernel | |
parent | ff86714fda0310ad153a2ba4836067f195e1f0b9 (diff) |
MIPS: Move 'gic_frequency' to common location.
Move the global variable 'gic_frequency' 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/kernel')
-rw-r--r-- | arch/mips/kernel/irq-gic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/irq-gic.c b/arch/mips/kernel/irq-gic.c index 130aec6f0644..eaf7c1eb873e 100644 --- a/arch/mips/kernel/irq-gic.c +++ b/arch/mips/kernel/irq-gic.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/hardirq.h> | 19 | #include <linux/hardirq.h> |
20 | #include <asm-generic/bitops/find.h> | 20 | #include <asm-generic/bitops/find.h> |
21 | 21 | ||
22 | unsigned int gic_frequency; | ||
22 | unsigned int gic_present; | 23 | unsigned int gic_present; |
23 | unsigned long _gic_base; | 24 | unsigned long _gic_base; |
24 | unsigned int gic_irq_base; | 25 | unsigned int gic_irq_base; |