[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1288642350-1599-1-git-send-email-johnstul@us.ibm.com>
Date: Mon, 1 Nov 2010 13:12:20 -0700
From: John Stultz <johnstul@...ibm.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: John Stultz <johnstul@...ibm.com>,
Chris McDermott <lcm@...ibm.com>,
Chris Metcalf <cmetcalf@...era.com>,
Chris Zankel <chris@...kel.net>,
"David S. Miller" <davem@...emloft.net>,
Dimitri Sivanich <sivanich@....com>,
Glauber Costa <glommer@...hat.com>,
Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>,
jacob.jun.pan@...el.com,
Jeremy Fitzhardinge <jeremy@...source.com>,
Jesper Nilsson <jesper.nilsson@...s.com>,
Kyle McMartin <kyle@...artin.ca>,
Michal Simek <monstr@...str.eu>,
Mikael Starvik <starvik@...s.com>,
Mike Frysinger <vapier@...too.org>,
Rusty Russell <rusty@...tcorp.com.au>,
Thomas Gleixner <tglx@...utronix.de>,
Tony Luck <tony.luck@...el.com>
Subject: [PATCH 00/10] clocksource_register_khz/hz cleanups (for 2.6.38)
clocksource_register_hz/khz() properly calculates a
clocksource mult and shift value for a clocksource,
removing much of the copy/pasted or arch-specific helper
functions that do so.
The common x86 clocksources have been converted to use
clocksource_register_hz/clocksource_register_khz and I've
seen no related bug reports, so I think the infrastructure
is fairly sound. So I wanted to start consolidating the
other arches to also use the clocksource_register_hz/khz
method.
I was a bit too late sending some of these patches out for
the 2.6.37 cycle, so I wanted to send these out early for
2.6.38.
While all of these patches are untested, they are pretty
straight forward, so please consider including these into
your 2.6.38 queue for testing.
thanks
-john
CC: Chris McDermott <lcm@...ibm.com>
CC: Chris Metcalf <cmetcalf@...era.com>
CC: Chris Zankel <chris@...kel.net>
CC: "David S. Miller" <davem@...emloft.net>
CC: Dimitri Sivanich <sivanich@....com>
CC: Glauber Costa <glommer@...hat.com>
CC: Hans-Christian Egtvedt <hans-christian.egtvedt@...el.com>
CC: jacob.jun.pan@...el.com
CC: Jeremy Fitzhardinge <jeremy@...source.com>
CC: Jesper Nilsson <jesper.nilsson@...s.com>
CC: Kyle McMartin <kyle@...artin.ca>
CC: Michal Simek <monstr@...str.eu>
CC: Mikael Starvik <starvik@...s.com>
CC: Mike Frysinger <vapier@...too.org>
CC: Rusty Russell <rusty@...tcorp.com.au>
CC: Thomas Gleixner <tglx@...utronix.de>
CC: Tony Luck <tony.luck@...el.com>
John Stultz (10):
x86: Convert untested clocksources to clocksource_register_hz/khz
ia64: convert to clocksource_register_hz/khz
cris: convert to clocksource_register_khz
tile: convert to use clocksource_register_hz
parisc: convert to clocksource_register_hz/khz
microblaze: convert to clocksource_register_hz/khz
avr32: Convert to clocksource_register_hz
blackfin: convert to clocksource_register_hz
xtensa: convert to clocksource_register_hz/khz
sparc: convert to clocksource_register_hz/khz
arch/avr32/kernel/time.c | 5 +----
arch/blackfin/kernel/time-ts.c | 35 ++---------------------------------
arch/cris/arch-v32/kernel/time.c | 4 +---
arch/ia64/kernel/cyclone.c | 6 +-----
arch/ia64/kernel/time.c | 9 ++-------
arch/ia64/sn/kernel/sn2/timer.c | 6 +-----
arch/microblaze/kernel/timer.c | 6 +-----
arch/parisc/kernel/time.c | 6 +-----
arch/sparc/kernel/time_64.c | 4 +---
arch/tile/kernel/time.c | 5 +----
arch/x86/kernel/apb_timer.c | 10 +---------
arch/x86/kernel/i8253.c | 6 +-----
arch/x86/kernel/kvmclock.c | 6 +-----
arch/x86/lguest/boot.c | 4 +---
arch/x86/platform/uv/uv_time.c | 6 +-----
arch/x86/xen/time.c | 6 +-----
arch/xtensa/kernel/time.c | 13 +------------
drivers/char/hpet.c | 6 +-----
drivers/clocksource/cyclone.c | 10 ++--------
19 files changed, 22 insertions(+), 131 deletions(-)
--
1.7.3.2.146.gca209
--
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