summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-26 17:14:41 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-26 17:14:41 (GMT)
commit179b9145d58eb7158d4053a8308b9fc4608a6d6b (patch)
tree6f63a64c2811135e6edca885f5a2c79f50ba7465
parent4187e7e9f1294afdcb3be5d00aa74412a1c2ded8 (diff)
parent89133f93508137231251543d1732da638e6022e1 (diff)
downloadlinux-fsl-qoriq-179b9145d58eb7158d4053a8308b9fc4608a6d6b.tar.xz
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
-rw-r--r--kernel/time/clocksource.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 0911334..5e18c6ab 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -394,15 +394,11 @@ void clocksource_resume(void)
{
struct clocksource *cs;
- mutex_lock(&clocksource_mutex);
-
list_for_each_entry(cs, &clocksource_list, list)
if (cs->resume)
cs->resume();
clocksource_resume_watchdog();
-
- mutex_unlock(&clocksource_mutex);
}
/**