diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-02 14:41:39 -0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-05 14:54:10 +0100 |
commit | 17622339af2536b32cf29699ddd4ba0fe79a61d5 (patch) | |
tree | 03832ecc8aecd1623b8dc8a8eef915cea08226e4 /include/linux/clocksource.h | |
parent | 7e1b584774c6168ca5b27c340fbeff8f67651e4f (diff) | |
download | kernel_samsung_espresso10-17622339af2536b32cf29699ddd4ba0fe79a61d5.zip kernel_samsung_espresso10-17622339af2536b32cf29699ddd4ba0fe79a61d5.tar.gz kernel_samsung_espresso10-17622339af2536b32cf29699ddd4ba0fe79a61d5.tar.bz2 |
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>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r-- | include/linux/clocksource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h index 8a4a130..0de7e72 100644 --- a/include/linux/clocksource.h +++ b/include/linux/clocksource.h @@ -172,7 +172,7 @@ struct clocksource { u64 max_idle_ns; unsigned long flags; cycle_t (*vread)(void); - void (*resume)(void); + void (*resume)(struct clocksource *cs); #ifdef CONFIG_IA64 void *fsys_mmio; /* used by fsyscall asm code */ #define CLKSRC_FSYS_MMIO_SET(mmio, addr) ((mmio) = (addr)) |