projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sched/walt: Accounting for number of irqs pending on each core
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
sched
/
idle.c
diff --git
a/kernel/sched/idle.c
b/kernel/sched/idle.c
index 4a2ef5a02fd3f91d7c4228378c23d5606bb73812..cbc130efbc5bc6a63ced39f4f1325e7d81c0ec79 100644
(file)
--- a/
kernel/sched/idle.c
+++ b/
kernel/sched/idle.c
@@
-19,9
+19,10
@@
* sched_idle_set_state - Record idle state for the current CPU.
* @idle_state: State to record.
*/
* sched_idle_set_state - Record idle state for the current CPU.
* @idle_state: State to record.
*/
-void sched_idle_set_state(struct cpuidle_state *idle_state)
+void sched_idle_set_state(struct cpuidle_state *idle_state
, int index
)
{
idle_set_state(this_rq(), idle_state);
{
idle_set_state(this_rq(), idle_state);
+ idle_set_state_idx(this_rq(), index);
}
static int __read_mostly cpu_idle_force_poll;
}
static int __read_mostly cpu_idle_force_poll;