From b05eb3c55eecb73d68419e19c237cb8f9a7a4c52 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 15 Jul 2011 14:39:21 +0100 Subject: [PATCH] pmu: Fixup build Quick build fixup for 2.6.39 Change-Id: I16104ec4c6d4e3e19d0429c48a9cbf44484e7faf --- drivers/idle/mrst_s0i3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/idle/mrst_s0i3.c b/drivers/idle/mrst_s0i3.c index f937755..7e56c32 100644 --- a/drivers/idle/mrst_s0i3.c +++ b/drivers/idle/mrst_s0i3.c @@ -64,9 +64,10 @@ int mrst_idle(struct cpuidle_device *dev, struct cpuidle_state *state) * leave_mm() to avoid costly and often unnecessary wakeups * for flushing the user TLB's associated with the active mm. */ +#ifdef CPUIDLE_FLAG_TLB_FLUSHED if (state->flags & CPUIDLE_FLAG_TLB_FLUSHED) leave_mm(cpu); - +#endif /* FIXME */ clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, &cpu); kt_before = ktime_get_real(); -- 2.7.4