cpuidle: Add cpumask to ease backporting

To make backporting a little easier provide a cpumask variable in the
driver struct - the core won't do anything with it but it's less code
to maintain.

Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Mark Brown
2014-05-29 23:05:18 +01:00
parent f43eb69268
commit ce2bf4a897

View File

@@ -111,6 +111,7 @@ struct cpuidle_driver {
struct cpuidle_state states[CPUIDLE_STATE_MAX];
int state_count;
int safe_state_index;
struct cpumask *cpumask;
};
#ifdef CONFIG_CPU_IDLE