clocksource: Save mult_orig in clocksource_disable()
authorMagnus Damm <magnus.damm@gmail.com>
Tue, 28 Jul 2009 21:09:55 +0000 (14:09 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 31 Jul 2009 12:12:36 +0000 (14:12 +0200)
commitc7121843685de2bf7f3afd3ae1d6a146010bf1fc
treef3a098159b8463386cd6d55b6272b6604bfbb9ce
parent4be3bd7849165e7efa6b0b35a23d6a3598d97465
clocksource: Save mult_orig in clocksource_disable()

To fix the common case where ->enable() does not set up
mult, make sure mult_orig is saved in mult on disable.

Also add comments to explain why we do this.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: johnstul@us.ibm.com
Cc: lethal@linux-sh.org
Cc: akpm@linux-foundation.org
LKML-Reference: <20090618152432.10136.9932.sendpatchset@rx1.opensource.se>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/clocksource.h