summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/cpuidle/lpm-levels.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpuidle/lpm-levels.c b/drivers/cpuidle/lpm-levels.c
index 37e504381313..de033cc37a15 100644
--- a/drivers/cpuidle/lpm-levels.c
+++ b/drivers/cpuidle/lpm-levels.c
@@ -85,7 +85,9 @@ struct lpm_debug {
struct lpm_cluster *lpm_root_node;
-static bool lpm_prediction;
+#define MAXSAMPLES 5
+
+static bool lpm_prediction = true;
module_param_named(lpm_prediction,
lpm_prediction, bool, S_IRUGO | S_IWUSR | S_IWGRP);