mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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
This commit is contained in:
commit
179b9145d5
1 changed files with 0 additions and 4 deletions
|
@ -394,15 +394,11 @@ void clocksource_resume(void)
|
||||||
{
|
{
|
||||||
struct clocksource *cs;
|
struct clocksource *cs;
|
||||||
|
|
||||||
mutex_lock(&clocksource_mutex);
|
|
||||||
|
|
||||||
list_for_each_entry(cs, &clocksource_list, list)
|
list_for_each_entry(cs, &clocksource_list, list)
|
||||||
if (cs->resume)
|
if (cs->resume)
|
||||||
cs->resume();
|
cs->resume();
|
||||||
|
|
||||||
clocksource_resume_watchdog();
|
clocksource_resume_watchdog();
|
||||||
|
|
||||||
mutex_unlock(&clocksource_mutex);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue