MIPS: Refactor GIC clocksource code.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Wed, 10 Apr 2013 21:28:36 +0000 (16:28 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 May 2013 15:55:20 +0000 (17:55 +0200)
commitdfa762e1c31c30607e4e5259f287dd3e174cbcc3
treeb23b7335ac92646a29df85c897b5f4783944dc5b
parent28ea215186d365408756577e9e612ee334e26f8e
MIPS: Refactor GIC clocksource code.

Reorganize some of the GIC clocksource driver code. Below is a list of
the various changes.

  * No longer select CSRC_GIC by default for Malta platform.
  * Limit choice for either the GIC or R4K clocksource, not both.
  * Change location in Makefile.
  * Created new 'gic_read_count' function in common 'irq-gic.c' file.
  * Change 'git_hpt_read' function in 'csrc-gic.c' to use new function.
  * Surround GIC specific code in Malta platform code with #ifdef's.
  * Only initialize the GIC clocksource if it was selected. Original
    code called it unconditionally if a GIC was found.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
arch/mips/Kconfig
arch/mips/include/asm/gic.h
arch/mips/kernel/Makefile
arch/mips/kernel/csrc-gic.c
arch/mips/kernel/irq-gic.c
arch/mips/mti-malta/malta-time.c
This page took 0.038503 seconds and 5 git commands to generate.