]> Git Repo - linux.git/commit
clocksource: Mostly kill clocksource_register()
authorJohn Stultz <[email protected]>
Thu, 12 Mar 2015 04:16:37 +0000 (21:16 -0700)
committerIngo Molnar <[email protected]>
Fri, 13 Mar 2015 07:07:06 +0000 (08:07 +0100)
commitf8935983f110505daa38e8d36ee406807f83a069
tree223f168e944f3d114c6f6c1ec30dcf2398a154a3
parent0b046b217ad4c64fbbeaaac24d0648cb1fa49ad8
clocksource: Mostly kill clocksource_register()

A long running project has been to clean up remaining uses
of clocksource_register(), replacing it with the simpler
clocksource_register_khz/hz() functions.

However, there are a few cases where we need to self-define
our mult/shift values, so switch the function to a more
obviously internal __clocksource_register() name, and
consolidate much of the internal logic so we don't have
duplication.

Signed-off-by: John Stultz <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Minor cleanups. ]
Signed-off-by: Ingo Molnar <[email protected]>
arch/s390/kernel/time.c
arch/sparc/kernel/time_32.c
include/linux/clocksource.h
kernel/time/clocksource.c
kernel/time/jiffies.c
This page took 0.063548 seconds and 4 git commands to generate.