cpuidle: Add cpumask to ease backporting
authorMark Brown <broonie@linaro.org>
Thu, 29 May 2014 22:05:18 +0000 (23:05 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 29 May 2014 22:42:53 +0000 (23:42 +0100)
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>
include/linux/cpuidle.h

index 8f0406230a0a4890b4247e60215795c11e0a30d3..1312cde685047ad1b1eeb470320dd272bf08cc7b 100644 (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