diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-26 13:14:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-26 13:14:41 -0400 |
commit | 179b9145d58eb7158d4053a8308b9fc4608a6d6b (patch) | |
tree | 6f63a64c2811135e6edca885f5a2c79f50ba7465 /kernel | |
parent | 4187e7e9f1294afdcb3be5d00aa74412a1c2ded8 (diff) | |
parent | 89133f93508137231251543d1732da638e6022e1 (diff) |
Merge branch 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
clocksource: Resume clocksource without taking the clocksource mutex
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/clocksource.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 09113347d328..5e18c6ab2c6a 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
@@ -394,15 +394,11 @@ void clocksource_resume(void) | |||
394 | { | 394 | { |
395 | struct clocksource *cs; | 395 | struct clocksource *cs; |
396 | 396 | ||
397 | mutex_lock(&clocksource_mutex); | ||
398 | |||
399 | list_for_each_entry(cs, &clocksource_list, list) | 397 | list_for_each_entry(cs, &clocksource_list, list) |
400 | if (cs->resume) | 398 | if (cs->resume) |
401 | cs->resume(); | 399 | cs->resume(); |
402 | 400 | ||
403 | clocksource_resume_watchdog(); | 401 | clocksource_resume_watchdog(); |
404 | |||
405 | mutex_unlock(&clocksource_mutex); | ||
406 | } | 402 | } |
407 | 403 | ||
408 | /** | 404 | /** |