kernel_optimize_test/arch/sparc64/kernel
David S. Miller 112f48716d [SPARC64]: Add clocksource/clockevents support.
I'd like to thank John Stul and others for helping
me along the way.

A lot of cleanups fell out of this.  For example, the get_compare()
tick_op was totally unused, so was deleted.  And the most often used
tick_op members were grouped together for cache-friendlyness.

The sparc64 TSC is given to the kernel as a one-shot timer.

tick_ops->init_timer() simply turns off the privileged bit in
the tick register (when possible), and disables the interrupt
by setting bit 63 in the compare register.  The ->disable_irq()
op also sets this bit.

tick_ops->add_compare() is changed to:

1) Add the given delta to "tick" not to "compare"
2) Return a boolean which, if true, means that the tick
   value read after writing the compare value was found
   to have incremented past the initial tick value.  This
   mirrors logic used in the HPET driver's ->next_event()
   method.

Each tick_ops implementation also now provides a name string.
And we feed this into the clocksource and clockevents layers.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-26 01:54:15 -07:00
..
asm-offsets.c
audit.c
auxio.c
binfmt_aout32.c
binfmt_elf32.c
central.c
chmc.c
compat_audit.c
cpu.c
devices.c
dtlb_miss.S
dtlb_prot.S
ebus.c
entry.S
etrap.S
head.S
idprom.c
init_task.c
iommu_common.c
iommu_common.h
irq.c [SPARC64]: Unify timer interrupt handler. 2007-04-26 01:54:11 -07:00
isa.c
itlb_miss.S
kprobes.c
ktlb.S [SPARC64]: Get DEBUG_PAGEALLOC working again. 2007-03-16 17:20:28 -07:00
Makefile
module.c
of_device.c [SPARC]: Handle unresolvable resources better in of_device.c 2007-03-02 15:22:50 -08:00
pci_common.c
pci_impl.h
pci_iommu.c [SPARC64]: Fix inline directive in pci_iommu.c 2007-04-13 13:35:35 -07:00
pci_psycho.c
pci_sabre.c
pci_schizo.c
pci_sun4v_asm.S [SPARC64]: Add PCI MSI support on Niagara. 2007-02-10 23:50:37 -08:00
pci_sun4v.c [SPARC64]: Add PCI MSI support on Niagara. 2007-02-10 23:50:37 -08:00
pci_sun4v.h [SPARC64]: Add PCI MSI support on Niagara. 2007-02-10 23:50:37 -08:00
pci.c [SPARC]: Fix section mismatch warnings in pci.c and pcic.c 2007-04-12 13:47:37 -07:00
power.c
process.c [SPARC64]: Add tick_nohz_{stop,restart}_sched_tick() calls to cpu_idle(). 2007-04-26 01:54:13 -07:00
prom.c
ptrace.c
rtrap.S
sbus.c [SPARC64]: Fix SBUS IOMMU allocation code. 2007-04-11 23:56:10 -07:00
semaphore.c
setup.c [PATCH] Dynamic kernel command-line: sparc64 2007-02-12 09:48:39 -08:00
signal.c
signal32.c
smp.c [SPARC64]: Add clocksource/clockevents support. 2007-04-26 01:54:15 -07:00
sparc64_ksyms.c [SPARC]: Re-export saved_command_line to modules. 2007-02-12 15:15:48 -08:00
stacktrace.c
starfire.c
sun4v_ivec.S
sun4v_tlb_miss.S
sunos_ioctl32.c [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
sys_sparc.c
sys_sparc32.c [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
sys_sunos32.c [SPARC]: avoid CHILD_MAX and OPEN_MAX constants 2007-04-12 13:13:42 -07:00
sys32.S [SPARC64]: Fix arg passing to compat_sys_ipc(). 2007-04-13 13:27:08 -07:00
systbls.S [SPARC64]: Fix arg passing to compat_sys_ipc(). 2007-04-13 13:27:08 -07:00
time.c [SPARC64]: Add clocksource/clockevents support. 2007-04-26 01:54:15 -07:00
trampoline.S
traps.c
tsb.S [SPARC64]: store-init needs trailing membar. 2007-03-19 13:27:33 -07:00
ttable.S [SPARC64]: Unify timer interrupt handler. 2007-04-26 01:54:11 -07:00
una_asm.S
unaligned.c
us2e_cpufreq.c
us3_cpufreq.c
visemul.c
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
winfixup.S