linux-stable-rt/arch/mips/kernel
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
..
.gitignore
8250-platform.c
Makefile MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
asm-offsets.c MIPS: Add Cavium OCTEON specific registers to ptrace.h and asm-offsets.c 2009-01-11 09:57:23 +00:00
binfmt_elfn32.c
binfmt_elfo32.c
branch.c MIPS: Compute branch returns for Cavium OCTEON specific branch instructions. 2009-01-11 09:57:24 +00:00
cevt-bcm1480.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-ds1287.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-gt641xx.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-r4k.c MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
cevt-sb1250.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-smtc.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cevt-txx9.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
cpu-bugs64.c
cpu-probe.c MIPS: Add Cavium OCTEON processor constants and CPU probe. 2009-01-11 09:57:22 +00:00
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
csrc-sb1250.c
early_printk.c
entry.S
genex.S MIPS: Override assembler target architecture for octeon. 2009-01-11 09:57:21 +00:00
gpio_txx9.c
head.S
i8253.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
i8259.c
init_task.c take init_fs to saner place 2008-12-31 18:07:42 -05:00
irq-gic.c cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
irq-gt641xx.c
irq-msc01.c
irq-rm7000.c
irq-rm9000.c
irq.c MIPS: Print irq handler description 2009-01-11 09:57:26 +00:00
irq_cpu.c
irq_txx9.c
kgdb.c
kspd.c CRED: Separate task security context from task_struct 2008-11-14 10:39:16 +11:00
linux32.c
machine_kexec.c
mips-mt-fpaff.c CRED: Wrap task credential accesses in the MIPS arch 2008-11-14 10:38:37 +11:00
mips-mt.c
mips_ksyms.c
module.c
octeon_switch.S MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
proc.c
process.c
ptrace.c
ptrace32.c MIPS: 64-bit: Use generic 32-bit ptrace compat code. 2009-01-11 09:57:19 +00:00
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S
reset.c
rtlx.c
scall32-o32.S MIPS: o32: Fix number of arguments to splice(2). 2008-12-04 17:47:28 +00:00
scall64-64.S MIPS: Set positive error number to errno on illegal_syscall 2008-10-27 16:18:26 +00:00
scall64-n32.S MIPS: 64-bit: vmsplice needs to use the compat wrapper for o32 and N32. 2008-12-04 17:47:28 +00:00
scall64-o32.S MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere. 2008-12-04 17:47:28 +00:00
setup.c
signal-common.h
signal.c
signal32.c
signal_n32.c
smp-cmp.c cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers. 2008-12-13 21:20:25 +10:30
smp-mt.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smp-up.c
smp.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
smtc-asm.S
smtc-proc.c
smtc.c cpumask: centralize cpu_online_map and cpu_possible_map 2008-12-13 21:19:41 +10:30
spram.c
stacktrace.c proc: add /proc/*/stack 2009-01-05 12:27:44 +03:00
sync-r4k.c
syscall.c
time.c
topology.c
traps.c MIPS: For Cavium OCTEON set hwrena and lazily restore CP2 state. 2009-01-11 09:57:21 +00:00
unaligned.c MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
vmlinux.lds.S
vpe.c mips: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00
watch.c