android_kernel_xiaomi_sm8350/arch/sparc64/kernel
David S. Miller e17ba8f51f [SPARC64]: Fix sched_clock() wrapping every ~17 seconds.
Unfortunately, sparc64 doesn't have an easy way to do a "64 X 64 -->
128" bit multiply like PowerPC and IA64 do.  We were doing a
"64 X 64 --> 64" bit multiple which causes overflow very quickly with
a 30-bit quotient shift.

So use a quotientshift count of 10 instead of 30, just like x86 and
ARM do.

This also fixes the wrapping of printk timestamp values every ~17
seconds.

Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-23 18:34:06 -07:00
..
asm-offsets.c
audit.c [PATCH] sparc64 audit syscall classes hookup 2006-09-12 03:05:05 -04:00
auxio.c [SPARC64] auxio: Remove asm/{sbus,ebus}.h includes. 2006-06-29 16:37:55 -07:00
binfmt_aout32.c
binfmt_elf32.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
central.c [SPARC64]: Convert central bus layer to in-kernel PROM device tree. 2006-06-23 23:15:32 -07:00
chmc.c [SPARC64]: Convert Cheetah memory controller driver to in-kernel PROM tree. 2006-06-23 23:15:34 -07:00
compat_audit.c [PATCH] sparc64 audit syscall classes hookup 2006-09-12 03:05:05 -04:00
cpu.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
devices.c [SPARC]: Simplify and correct __cpu_find_by() 2006-07-21 14:18:15 -07:00
dtlb_miss.S
dtlb_prot.S
ebus.c [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
entry.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
etrap.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
head.S [SPARC64]: Make sure IRQs are disabled properly during early boot. 2006-07-14 17:00:21 -07:00
idprom.c
init_task.c
iommu_common.c
iommu_common.h
irq.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
isa.c [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
itlb_miss.S
kprobes.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ktlb.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [PATCH] sparc64 audit syscall classes hookup 2006-09-12 03:05:05 -04:00
module.c [SPARC]: Handle UNWIND_INFO properly. 2006-05-12 12:45:50 -07:00
of_device.c [SPARC64]: Fix more of_device layer IRQ bugs, and correct PROMREG_MAX. 2006-07-21 14:17:52 -07:00
pci_common.c [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
pci_impl.h [SPARC64]: Convert sparc64 PCI layer to in-kernel device tree. 2006-06-23 23:15:26 -07:00
pci_iommu.c [SPARC64]: Respect gfp_t argument to dma_alloc_coherent(). 2006-05-23 02:07:22 -07:00
pci_psycho.c [SPARC64] Fix PSYCHO PCI controler init. 2006-07-14 17:00:30 -07:00
pci_sabre.c [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
pci_schizo.c [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
pci_sun4v_asm.S
pci_sun4v.c [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
pci_sun4v.h
pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
power.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
process.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
prom.c [SPARC64]: Fix more of_device layer IRQ bugs, and correct PROMREG_MAX. 2006-07-21 14:17:52 -07:00
ptrace.c
rtrap.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sbus.c [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
semaphore.c
setup.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
signal32.c
signal.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
smp.c [SPARC64]: Convert cpu_find_by_*() interface to in-kernel PROM device tree. 2006-06-23 23:15:17 -07:00
sparc64_ksyms.c [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
starfire.c [SPARC64]: Kill starfire_cookie from SBUS/PCI. 2006-06-29 16:37:08 -07:00
sun4v_ivec.S [SPARC64]: Move over to GENERIC_HARDIRQS. 2006-06-20 01:23:32 -07:00
sun4v_tlb_miss.S
sunos_ioctl32.c
sys32.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys_sparc32.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys_sparc.c [SPARC]: Fix regression in sys_getdomainname() 2006-09-18 07:11:36 -07:00
sys_sunos32.c [PATCH] zoned vm counters: conversion of nr_pagecache to per zone counter 2006-06-30 11:25:34 -07:00
systbls.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
time.c [SPARC64]: Fix sched_clock() wrapping every ~17 seconds. 2006-09-23 18:34:06 -07:00
trampoline.S
traps.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tsb.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ttable.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
una_asm.S
unaligned.c [SPARC64]: Print symbol name of regs->tpc on kernel unaligned accesses. 2006-06-29 16:38:03 -07:00
us2e_cpufreq.c
us3_cpufreq.c
visemul.c
vmlinux.lds.S
winfixup.S