Merge branch 'imx' into devel

Conflicts:

	arch/arm/mm/Kconfig
This commit is contained in:
Russell King
2008-07-10 16:41:50 +01:00
committed by Russell King
92 changed files with 13539 additions and 609 deletions

View File

@@ -1003,10 +1003,18 @@ hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode)
*/
raise = timer->state == HRTIMER_STATE_PENDING;
/*
* We use preempt_disable to prevent this task from migrating after
* setting up the softirq and raising it. Otherwise, if me migrate
* we will raise the softirq on the wrong CPU.
*/
preempt_disable();
unlock_hrtimer_base(timer, &flags);
if (raise)
hrtimer_raise_softirq();
preempt_enable();
return ret;
}