diff options
| -rw-r--r-- | kernel/time/clocksource.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 605656df16c4..84f37420fcf5 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
| @@ -173,10 +173,8 @@ static void __clocksource_unstable(struct clocksource *cs) | |||
| 173 | * clocksource_mark_unstable - mark clocksource unstable via watchdog | 173 | * clocksource_mark_unstable - mark clocksource unstable via watchdog |
| 174 | * @cs: clocksource to be marked unstable | 174 | * @cs: clocksource to be marked unstable |
| 175 | * | 175 | * |
| 176 | * This function is called instead of clocksource_change_rating from | 176 | * This function is called by the x86 TSC code to mark clocksources as unstable; |
| 177 | * cpu hotplug code to avoid a deadlock between the clocksource mutex | 177 | * it defers demotion and re-selection to a kthread. |
| 178 | * and the cpu hotplug mutex. It defers the update of the clocksource | ||
| 179 | * to the watchdog thread. | ||
| 180 | */ | 178 | */ |
| 181 | void clocksource_mark_unstable(struct clocksource *cs) | 179 | void clocksource_mark_unstable(struct clocksource *cs) |
| 182 | { | 180 | { |
