Message ID | 20230419143947.1342730-8-dedekind1@gmail.com |
---|---|
State | New |
Headers | show |
Series | misc intel_idle cleanups | expand |
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index 9e4105b532da..1711cfdc45cc 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c @@ -66,8 +66,8 @@ static struct cpuidle_driver intel_idle_driver = { }; /* intel_idle.max_cstate=0 disables driver */ static int max_cstate = CPUIDLE_STATE_MAX - 1; -static unsigned int disabled_states_mask; -static unsigned int preferred_states_mask; +static unsigned int disabled_states_mask __read_mostly; +static unsigned int preferred_states_mask __read_mostly; static bool force_irq_on __read_mostly; static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;