projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43eb69
)
cpuidle: Add cpumask to ease backporting
author
Mark Brown
<broonie@linaro.org>
Thu, 29 May 2014 22:05:18 +0000
(23:05 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/include/linux/cpuidle.h
b/include/linux/cpuidle.h
index 8f0406230a0a4890b4247e60215795c11e0a30d3..1312cde685047ad1b1eeb470320dd272bf08cc7b 100644
(file)
--- a/
include/linux/cpuidle.h
+++ b/
include/linux/cpuidle.h
@@
-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