summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/cpuidle-powernv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpuidle/cpuidle-powernv.c')
-rw-r--r--drivers/cpuidle/cpuidle-powernv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/cpuidle/cpuidle-powernv.c b/drivers/cpuidle/cpuidle-powernv.c
index 50b3c2e0306f..9d03326ac05e 100644
--- a/drivers/cpuidle/cpuidle-powernv.c
+++ b/drivers/cpuidle/cpuidle-powernv.c
@@ -32,18 +32,18 @@ static struct cpuidle_driver powernv_idle_driver = {
32 .owner = THIS_MODULE, 32 .owner = THIS_MODULE,
33}; 33};
34 34
35static int max_idle_state; 35static int max_idle_state __read_mostly;
36static struct cpuidle_state *cpuidle_state_table; 36static struct cpuidle_state *cpuidle_state_table __read_mostly;
37 37
38struct stop_psscr_table { 38struct stop_psscr_table {
39 u64 val; 39 u64 val;
40 u64 mask; 40 u64 mask;
41}; 41};
42 42
43static struct stop_psscr_table stop_psscr_table[CPUIDLE_STATE_MAX]; 43static struct stop_psscr_table stop_psscr_table[CPUIDLE_STATE_MAX] __read_mostly;
44 44
45static u64 snooze_timeout; 45static u64 snooze_timeout __read_mostly;
46static bool snooze_timeout_en; 46static bool snooze_timeout_en __read_mostly;
47 47
48static int snooze_loop(struct cpuidle_device *dev, 48static int snooze_loop(struct cpuidle_device *dev,
49 struct cpuidle_driver *drv, 49 struct cpuidle_driver *drv,