cpuidle.c (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | cpuidle.c (6baacf9391c03f91a7644b3f94634b7d4b2c5e34) |
---|---|
1/* 2 * cpuidle.c - core cpuidle infrastructure 3 * 4 * (C) 2006-2007 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> 5 * Shaohua Li <shaohua.li@intel.com> 6 * Adam Belay <abelay@novell.com> 7 * 8 * This code is licenced under the GPL. --- 214 unchanged lines hidden (view full) --- 223 /* 224 * Tell the time framework to switch to a broadcast timer because our 225 * local timer will be shut down. If a local timer is used from another 226 * CPU as a broadcast timer, this call may fail if it is not available. 227 */ 228 if (broadcast && tick_broadcast_enter()) { 229 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, 230 CPUIDLE_FLAG_TIMER_STOP, false); | 1/* 2 * cpuidle.c - core cpuidle infrastructure 3 * 4 * (C) 2006-2007 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> 5 * Shaohua Li <shaohua.li@intel.com> 6 * Adam Belay <abelay@novell.com> 7 * 8 * This code is licenced under the GPL. --- 214 unchanged lines hidden (view full) --- 223 /* 224 * Tell the time framework to switch to a broadcast timer because our 225 * local timer will be shut down. If a local timer is used from another 226 * CPU as a broadcast timer, this call may fail if it is not available. 227 */ 228 if (broadcast && tick_broadcast_enter()) { 229 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, 230 CPUIDLE_FLAG_TIMER_STOP, false); |
231 if (index < 0) { 232 default_idle_call(); 233 return -EBUSY; 234 } | 231 |
235 target_state = &drv->states[index]; 236 broadcast = false; 237 } 238 239 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED) 240 leave_mm(); 241 242 /* Take note of the planned idle state. */ --- 574 unchanged lines hidden --- | 232 target_state = &drv->states[index]; 233 broadcast = false; 234 } 235 236 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED) 237 leave_mm(); 238 239 /* Take note of the planned idle state. */ --- 574 unchanged lines hidden --- |