From caa3b6a1cd1c33816bfef724f9146b85d05427bd Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 5 Oct 2005 17:43:40 +1000 Subject: [PATCH] --- yaml --- r: 9652 b: refs/heads/master c: 23cb8c297eb939b25e5a628dc9e8a71b17f1c44e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/ppc/platforms/pmac_time.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index eda6a8b49803..12572d6dae0f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 329d4dd72e5c3393a0c7aeebf3e62df77b196d71 +refs/heads/master: 23cb8c297eb939b25e5a628dc9e8a71b17f1c44e diff --git a/trunk/arch/ppc/platforms/pmac_time.c b/trunk/arch/ppc/platforms/pmac_time.c index 778ce4fec368..efb819f9490d 100644 --- a/trunk/arch/ppc/platforms/pmac_time.c +++ b/trunk/arch/ppc/platforms/pmac_time.c @@ -195,7 +195,7 @@ via_calibrate_decr(void) ; dend = get_dec(); - tb_ticks_per_jiffy = (dstart - dend) / (6 * (HZ/100)); + tb_ticks_per_jiffy = (dstart - dend) / ((6 * HZ)/100); tb_to_us = mulhwu_scale_factor(dstart - dend, 60000); printk(KERN_INFO "via_calibrate_decr: ticks per jiffy = %u (%u ticks)\n",