Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1343558 > unrolled thread

Re: [PATCH] clocksource: introduce clocksource_freq2mult()

Started byJohn Stultz <john.stultz@linaro.org>
First post2016-02-26 00:00 +0100
Last post2016-02-26 00:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] clocksource: introduce clocksource_freq2mult() John Stultz <john.stultz@linaro.org> - 2016-02-26 00:00 +0100

#1343558 — Re: [PATCH] clocksource: introduce clocksource_freq2mult()

FromJohn Stultz <john.stultz@linaro.org>
Date2016-02-26 00:00 +0100
SubjectRe: [PATCH] clocksource: introduce clocksource_freq2mult()
Message-ID<r6d34-2h5-29@gated-at.bofh.it>
On Fri, Feb 5, 2016 at 11:39 PM, Alexander Kuleshov
<kuleshovmail@gmail.com> wrote:
> The clocksource_khz2mult() and clocksource_hz2mult() share similar
> code wihch calculates a mult from the given frequency. Both implementations
> in differ only in value of a frequency. This patch introduces the
> clocksource_freq2mult() helper with generic implementation of
> mult calculation to prevent code duplication.
>
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
> ---
>  include/linux/clocksource.h | 45 +++++++++++++++++++--------------------------
>  1 file changed, 19 insertions(+), 26 deletions(-)

Looks good. Queued for testing.

Thanks for the cleanup.
-john

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web