clocksource: add argument to resume callback
authorMagnus Damm <damm@opensource.se>
Tue, 2 Feb 2010 22:41:39 +0000 (14:41 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 5 Feb 2010 13:54:10 +0000 (14:54 +0100)
commit17622339af2536b32cf29699ddd4ba0fe79a61d5
tree03832ecc8aecd1623b8dc8a8eef915cea08226e4
parent7e1b584774c6168ca5b27c340fbeff8f67651e4f
clocksource: add argument to resume callback

Pass the clocksource as an argument to the clocksource resume callback.
Needed so we can point out which CMT channel the sh_cmt.c driver shall
resume.

Signed-off-by: Magnus Damm <damm@opensource.se>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/ia64/kernel/time.c
arch/x86/kernel/hpet.c
arch/x86/kernel/tsc.c
include/linux/clocksource.h
kernel/time/clocksource.c