Re: [RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
Hi Russell King, On 8/7/2013 16:02, Russell King - ARM Linux wrote: On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote: correct the comparison parameter of MHz from 4,000,000 to 1,000,000 You're assuming this wasn't intentional. As the division by 100 ends up losing the fractional r

Re: [RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Russell King - ARM Linux
On Wed, Aug 07, 2013 at 03:47:40PM +0800, Bo Shen wrote: > correct the comparison parameter of MHz from 4,000,000 to 1,000,000 You're assuming this wasn't intentional. As the division by 100 ends up losing the fractional rate, I decided to leave 1-4MHz as kHz, so something like 1.832MHz would

[RFC PATCH] clock: correct the comparison parameter of MHz

2013-08-07 Thread Bo Shen
correct the comparison parameter of MHz from 4,000,000 to 1,000,000 Signed-off-by: Bo Shen --- kernel/time/sched_clock.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c index a326f27..62885f7 100644 --- a/kernel/time/s