diff options
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r-- | include/linux/clocksource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h index e315d04a2fd9..cfc75848a35d 100644 --- a/include/linux/clocksource.h +++ b/include/linux/clocksource.h | |||
@@ -62,6 +62,8 @@ struct module; | |||
62 | * @archdata: arch-specific data | 62 | * @archdata: arch-specific data |
63 | * @suspend: suspend function for the clocksource, if necessary | 63 | * @suspend: suspend function for the clocksource, if necessary |
64 | * @resume: resume function for the clocksource, if necessary | 64 | * @resume: resume function for the clocksource, if necessary |
65 | * @mark_unstable: Optional function to inform the clocksource driver that | ||
66 | * the watchdog marked the clocksource unstable | ||
65 | * @owner: module reference, must be set by clocksource in modules | 67 | * @owner: module reference, must be set by clocksource in modules |
66 | * | 68 | * |
67 | * Note: This struct is not used in hotpathes of the timekeeping code | 69 | * Note: This struct is not used in hotpathes of the timekeeping code |
@@ -93,6 +95,7 @@ struct clocksource { | |||
93 | unsigned long flags; | 95 | unsigned long flags; |
94 | void (*suspend)(struct clocksource *cs); | 96 | void (*suspend)(struct clocksource *cs); |
95 | void (*resume)(struct clocksource *cs); | 97 | void (*resume)(struct clocksource *cs); |
98 | void (*mark_unstable)(struct clocksource *cs); | ||
96 | 99 | ||
97 | /* private: */ | 100 | /* private: */ |
98 | #ifdef CONFIG_CLOCKSOURCE_WATCHDOG | 101 | #ifdef CONFIG_CLOCKSOURCE_WATCHDOG |