clocksource: Add module refcount
authorThomas Gleixner <tglx@linutronix.de>
Thu, 25 Apr 2013 20:31:44 +0000 (20:31 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 May 2013 09:09:14 +0000 (11:09 +0200)
commit09ac369c825d9d593404306d59062d854b321e9b
tree0d07679956f56d3203aff526412ec82862083b9a
parentba919d1caa2e624eb8c6cae1f2ce0a253e697d45
clocksource: Add module refcount

Add a module refcount, so the current clocksource cannot be removed
unconditionally.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130425143435.762417789@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/clocksource.h
kernel/time/timekeeping.c