[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 07 Jul 2011 17:31:21 +0400
From: Vitaly Kuzmichev <vkuzmichev@...sta.com>
To: vkuzmichev@...sta.com
CC: Russell King - ARM Linux <linux@....linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
linux-watchdog@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Wim Van Sebroeck <wim@...ana.be>,
Marc Zyngier <marc.zyngier@....com>,
Colin Cross <ccross@...roid.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 1/4] ARM: smp_twd: Fix typo in 'twd_timer_rate' printing
Hi,
On 07/07/2011 04:50 PM, Vitaly Kuzmichev wrote:
> Hi Russell,
>
> On 07/07/2011 04:39 PM, Russell King - ARM Linux wrote:
>> On Thu, Jul 07, 2011 at 04:23:13PM +0400, Vitaly Kuzmichev wrote:
>>> To get hundredths of MHz the rate needs to be divided by 10'000.
>>> Here is an example:
>>> twd_timer_rate = 123456789
>>> Before the patch:
>>> twd_timer_rate / 1000000 = 123
>>> (twd_timer_rate / 1000000) % 100 = 23
>>> Result: 123.23MHz.
>>> After being fixed:
>>> twd_timer_rate / 1000000 = 123
>>> (twd_timer_rate / 10000) % 100 = 45
>>> Result: 123.45MHz.
>>>
>>> Signed-off-by: Vitaly Kuzmichev <vkuzmichev@...sta.com>
>>
>> -> patch system please.
>
> For a such newbie as me it's hard to understand this comment, sorry :)
> Could you explain, please?
Ignore my question, I've learned.
Thanks,
Vitaly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists