lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTi=4NGQpacDwzVrdyTs-KAZwMvmCqSqukc4aERMS@mail.gmail.com>
Date:	Wed, 23 Mar 2011 20:50:53 +0000
From:	Matt Turner <mattst88@...il.com>
To:	John Stultz <johnstul@...ibm.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Richard Henderson <rth@...ddle.net>,
	Ivan Kokshaysky <ink@...assic.park.msu.ru>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH 3/6] alpha: convert to clocksource_register_hz

On Wed, Feb 16, 2011 at 6:34 AM, John Stultz <johnstul@...ibm.com> wrote:
> Converts alpha to use clocksource_register_hz.
>
> Patch is untested, so help from maintainers would be appreciated.
>
> Signed-off-by: John Stultz <johnstul@...ibm.com>
> CC: Richard Henderson <rth@...ddle.net>
> CC: Ivan Kokshaysky <ink@...assic.park.msu.ru>
> CC: Matt Turner <mattst88@...il.com>
> CC: Thomas Gleixner <tglx@...utronix.de>
> ---
>  arch/alpha/kernel/time.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c
> index c1f3e7c..33b8110 100644
> --- a/arch/alpha/kernel/time.c
> +++ b/arch/alpha/kernel/time.c
> @@ -378,8 +378,7 @@ static struct clocksource clocksource_rpcc = {
>
>  static inline void register_rpcc_clocksource(long cycle_freq)
>  {
> -       clocksource_calc_mult_shift(&clocksource_rpcc, cycle_freq, 4);
> -       clocksource_register(&clocksource_rpcc);
> +       clocksource_register_hz(&clocksource_rpcc, cycle_freq);
>  }
>  #else /* !CONFIG_SMP */
>  static inline void register_rpcc_clocksource(long cycle_freq)
> --
> 1.7.3.2.146.gca209

Thanks, I'll apply this. Please CC: linux-alpha@...r.kernel.org for
alpha patches.

Matt
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ