mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
Merge branch 'pm-cpuidle-fixes'
* pm-cpuidle-fixes: cpuidle: poll_state: Fix default time limit
This commit is contained in:
commit
cbffab6825
@ -21,7 +21,7 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev,
|
||||
local_irq_enable();
|
||||
if (!current_set_polling_and_test()) {
|
||||
unsigned int loop_count = 0;
|
||||
u64 limit = TICK_USEC;
|
||||
u64 limit = TICK_NSEC;
|
||||
int i;
|
||||
|
||||
for (i = 1; i < drv->state_count; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user