diff options
Diffstat (limited to 'drivers/cpuidle/governors/menu.c')
-rw-r--r-- | drivers/cpuidle/governors/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c index 299d45c3bdd2..78d77c5dc35c 100644 --- a/drivers/cpuidle/governors/menu.c +++ b/drivers/cpuidle/governors/menu.c | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
10 | #include <linux/cpuidle.h> | 10 | #include <linux/cpuidle.h> |
11 | #include <linux/latency.h> | 11 | #include <linux/pm_qos_params.h> |
12 | #include <linux/time.h> | 12 | #include <linux/time.h> |
13 | #include <linux/ktime.h> | 13 | #include <linux/ktime.h> |
14 | #include <linux/hrtimer.h> | 14 | #include <linux/hrtimer.h> |
@@ -48,7 +48,7 @@ static int menu_select(struct cpuidle_device *dev) | |||
48 | break; | 48 | break; |
49 | if (s->target_residency > data->predicted_us) | 49 | if (s->target_residency > data->predicted_us) |
50 | break; | 50 | break; |
51 | if (s->exit_latency > system_latency_constraint()) | 51 | if (s->exit_latency > pm_qos_requirement(PM_QOS_CPU_DMA_LATENCY)) |
52 | break; | 52 | break; |
53 | } | 53 | } |
54 | 54 | ||