mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
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:
parent
f43eb69268
commit
ce2bf4a897
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user