android_kernel_xiaomi_sm8350/arch/mips
Manuel Lauss 779e7d41ad MIPS: make cp0 counter clocksource/event usable as fallback.
The current mips clock build infrastructure lets a system only use
either the MIPS cp0 counter or a SoC specific timer as a clocksource /
clockevent device.

This patch renames the core cp0 counter clocksource / clockevent functions
from mips_* to r4k_* and updates the wrappers in asm-mips/time.h to
call these renamed functions instead.

Chips which can detect whether it is safe to use a chip-specific timer
can now fall back on the cp0 counter if necessary and possible
(e.g. Alchemy with a follow-on patch).

Existing behaviour is not changed in any way.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-01-11 09:57:26 +00:00
..
alchemy MIPS: Alchemy: remove cpu_table. 2009-01-11 09:57:26 +00:00
basler/excite
bcm47xx MIPS: WGT634U: Add reset button support 2008-10-15 12:46:51 +01:00
boot
cavium-octeon MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
cobalt
configs MIPS: Add defconfig for Cavium OCTEON. 2009-01-11 09:57:25 +00:00
dec mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
emma MIPS: Markeins: Remove unnecessary define and cleanup comments, etc. 2008-10-27 16:18:31 +00:00
fw
gt64120/wrppmc
include/asm MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
jazz cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
kernel MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
lasat sysctl: simplify ->strategy 2008-10-16 11:21:47 -07:00
lemote/lm2e MIPS: lemote/lm2e: Added io_map_base to pci controller 2008-10-27 16:18:31 +00:00
lib MIPS: Hook up Cavium OCTEON in arch/mips. 2009-01-11 09:57:22 +00:00
math-emu MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
mipssim
mm MIPS: Adjust the dma-common.c platform hooks. 2009-01-11 09:57:24 +00:00
mti-malta cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
nxp cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci PCI: mips: use generic INTx swizzle from PCI core 2009-01-07 11:13:14 -08:00
pmc-sierra trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rb532 MIPS: RB532: Provide functions for gpio configuration 2008-11-20 19:42:33 +00:00
sgi-ip22 MIPS: IP22: ip22-int.c header file weeding. 2008-10-27 16:18:28 +00:00
sgi-ip27 cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
sgi-ip32 MIPS: IP32: Add platform device for CMOS RTC; remove dead code 2008-10-15 12:46:52 +01:00
sibyte cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
sni cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
txx9 MIPS: RBTX4927: Add GPIO-LED support 2008-10-30 14:44:33 +00:00
vr41xx
Kconfig MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
Kconfig.debug MIPS: Kconfig: Fix the arch-specific header path 2008-12-12 18:12:23 +00:00
Makefile MIPS: Alchemy: Move development board code to common subdirectory 2009-01-11 09:57:25 +00:00