clocksource_register_khz/hz cleanups (for 2.6.38)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | x86: Convert untested clocksources to clocksource_register_hz/khzarch/ arch/ arch/ +4 more | +8 | 0 replies | |
| 2/10 | ia64: convert to clocksource_register_hz/khzarch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 3/10 | cris: convert to clocksource_register_khzarch/ | +1 | 0 replies | |
| 4/10 | tile: convert to use clocksource_register_hzarch/ | +1 | 5 replies | |
| 5/10 | parisc: convert to clocksource_register_hz/khzarch/ | +1 | 0 replies | |
| 6/10 | microblaze: convert to clocksource_register_hz/khzarch/ | +1 | 1 reply | |
| 7/10 | avr32: Convert to clocksource_register_hzarch/ | +1 | 0 replies | |
| 8/10 | blackfin: convert to clocksource_register_hzarch/ | +2 | 0 replies | |
| 9/10 | xtensa: convert to clocksource_register_hz/khzarch/ | +1 | 0 replies | |
| 10/10 | sparc: convert to clocksource_register_hz/khzarch/ | +1 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | David S. Miller | Michal Simek |
|---|---|---|
| 1/10 | ||
| 2/10 | ||
| 3/10 | ||
| 4/10 | ||
| 5/10 | ||
| 6/10 | T-b | |
| 7/10 | ||
| 8/10 | ||
| 9/10 | ||
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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
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(-)
Signature · 1 line
1.7.3.2.146.gca209