diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2013-04-10 17:29:13 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:55:21 -0400 |
commit | 2675fa7c7b46842f82b2766b5abe80e16ce32977 (patch) | |
tree | 7d0f015d938e36e1c8145143ef0608eebe8dd2aa /arch/mips/kernel | |
parent | dfa762e1c31c30607e4e5259f287dd3e174cbcc3 (diff) |
MIPS: Formatting clean-ups for clocksources.
Various whitespace and #ifdef removals for GIC and R4K clocksources.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/cevt-r4k.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c index 07b847d77f5d..0309aefbf713 100644 --- a/arch/mips/kernel/cevt-r4k.c +++ b/arch/mips/kernel/cevt-r4k.c | |||
@@ -23,7 +23,6 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef CONFIG_MIPS_MT_SMTC | 25 | #ifndef CONFIG_MIPS_MT_SMTC |
26 | |||
27 | static int mips_next_event(unsigned long delta, | 26 | static int mips_next_event(unsigned long delta, |
28 | struct clock_event_device *evt) | 27 | struct clock_event_device *evt) |
29 | { | 28 | { |
@@ -49,7 +48,6 @@ DEFINE_PER_CPU(struct clock_event_device, mips_clockevent_device); | |||
49 | int cp0_timer_irq_installed; | 48 | int cp0_timer_irq_installed; |
50 | 49 | ||
51 | #ifndef CONFIG_MIPS_MT_SMTC | 50 | #ifndef CONFIG_MIPS_MT_SMTC |
52 | |||
53 | irqreturn_t c0_compare_interrupt(int irq, void *dev_id) | 51 | irqreturn_t c0_compare_interrupt(int irq, void *dev_id) |
54 | { | 52 | { |
55 | const int r2 = cpu_has_mips_r2; | 53 | const int r2 = cpu_has_mips_r2; |
@@ -166,7 +164,6 @@ int c0_compare_int_usable(void) | |||
166 | } | 164 | } |
167 | 165 | ||
168 | #ifndef CONFIG_MIPS_MT_SMTC | 166 | #ifndef CONFIG_MIPS_MT_SMTC |
169 | |||
170 | int __cpuinit r4k_clockevent_init(void) | 167 | int __cpuinit r4k_clockevent_init(void) |
171 | { | 168 | { |
172 | unsigned int cpu = smp_processor_id(); | 169 | unsigned int cpu = smp_processor_id(); |