Commit 6eb0443a authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

intel_idle: Reorder declarations of static variables

Reorder declarations of static variables so that the __initdata ones
are declared together.

No functional impact.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ab1a8522
...@@ -65,7 +65,7 @@ static struct cpuidle_driver intel_idle_driver = { ...@@ -65,7 +65,7 @@ static struct cpuidle_driver intel_idle_driver = {
static int max_cstate = CPUIDLE_STATE_MAX - 1; static int max_cstate = CPUIDLE_STATE_MAX - 1;
static unsigned int disabled_states_mask; static unsigned int disabled_states_mask;
static unsigned int mwait_substates __initdata; static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
static unsigned long auto_demotion_disable_flags; static unsigned long auto_demotion_disable_flags;
static bool disable_promotion_to_c1e; static bool disable_promotion_to_c1e;
...@@ -86,9 +86,10 @@ struct idle_cpu { ...@@ -86,9 +86,10 @@ struct idle_cpu {
}; };
static const struct idle_cpu *icpu __initdata; static const struct idle_cpu *icpu __initdata;
static struct cpuidle_device __percpu *intel_idle_cpuidle_devices;
static struct cpuidle_state *cpuidle_state_table __initdata; static struct cpuidle_state *cpuidle_state_table __initdata;
static unsigned int mwait_substates __initdata;
/* /*
* Enable this state by default even if the ACPI _CST does not list it. * Enable this state by default even if the ACPI _CST does not list it.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment