From: John Stultz <johnstul@us.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: John Stultz <johnstul@us.ibm.com>,
Richard Henderson <rth@twiddle.net>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Matt Turner <mattst88@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>
Subject: [PATCH 3/6] alpha: convert to clocksource_register_hz
Date: Tue, 15 Feb 2011 22:34:49 -0800 [thread overview]
Message-ID: <1297838092-22989-4-git-send-email-johnstul@us.ibm.com> (raw)
In-Reply-To: <1297838092-22989-1-git-send-email-johnstul@us.ibm.com>
Converts alpha to use clocksource_register_hz.
Patch is untested, so help from maintainers would be appreciated.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
CC: Richard Henderson <rth@twiddle.net>
CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
CC: Matt Turner <mattst88@gmail.com>
CC: Thomas Gleixner <tglx@linutronix.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
next prev parent reply other threads:[~2011-02-16 6:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 6:34 [PATCH 0/6] clocksource_register_hz/khz cleanups for 2.6.39 John Stultz
2011-02-16 6:34 ` [PATCH 1/6] x86: Convert untested clocksources to clocksource_register_hz/khz John Stultz
2011-02-16 6:34 ` [PATCH 2/6] ia64: convert " John Stultz
2011-02-16 17:52 ` Tony Luck
2011-02-16 6:34 ` John Stultz [this message]
2011-03-23 20:50 ` [PATCH 3/6] alpha: convert to clocksource_register_hz Matt Turner
2011-02-16 6:34 ` [PATCH 4/6] sparc: convert to clocksource_register_hz/khz John Stultz
2011-02-23 21:26 ` David Miller
2011-02-23 22:17 ` john stultz
2011-02-16 6:34 ` [PATCH 5/6] mips: " John Stultz
2011-02-16 6:34 ` [PATCH 6/6] blackfin: convert to clocksource_register_hz John Stultz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1297838092-22989-4-git-send-email-johnstul@us.ibm.com \
--to=johnstul@us.ibm.com \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mattst88@gmail.com \
--cc=rth@twiddle.net \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®