kernel-hacking-2024-linux-s.../kernel/time
Magnus Damm 4614e6adaf clocksource: add enable() and disable() callbacks
Add enable() and disable() callbacks for clocksources.

This allows us to put unused clocksources in power save mode.  The
functions clocksource_enable() and clocksource_disable() wrap the
callbacks and are inserted in the timekeeping code to enable before use
and disable after switching to a new clocksource.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-21 13:41:47 -07:00
..
clockevents.c
clocksource.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
jiffies.c clocksource: pass clocksource to read() callback 2009-04-21 13:41:47 -07:00
Kconfig
Makefile timecompare: generic infrastructure to map between two time bases 2009-02-15 22:43:32 -08:00
ntp.c time: ntp: fix bug in ntp_update_offset() & do_adjtimex(), fix 2009-02-26 19:39:47 +01:00
tick-broadcast.c
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c
timecompare.c timecompare: generic infrastructure to map between two time bases 2009-02-15 22:43:32 -08:00
timekeeping.c clocksource: add enable() and disable() callbacks 2009-04-21 13:41:47 -07:00
timer_list.c
timer_stats.c