From: David S. Miller Date: Fri, 18 May 2007 05:55:26 +0000 (-0700) Subject: [SPARC64]: Fix sched_clock() et al. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03983ab858ae6aea273060277c9b290498340047;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [SPARC64]: Fix sched_clock() et al. SPARC64_NSEC_PER_CYC_SHIFT was set too high. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 6b9a06e42542..2d63d7689962 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c @@ -1030,7 +1030,7 @@ void __devinit setup_sparc64_timer(void) clockevents_register_device(sevt); } -#define SPARC64_NSEC_PER_CYC_SHIFT 32UL +#define SPARC64_NSEC_PER_CYC_SHIFT 10UL static struct clocksource clocksource_tick = { .rating = 100,