diff options
author | Sumit Singh <sumsingh@nvidia.com> | 2014-04-21 15:25:25 +0530 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-06-24 04:48:07 -0700 |
commit | e482f667f3948efb1cbb8f3d491919f6ebf48236 (patch) | |
tree | c2c8470587e18fb0ae4c5082f5cdb97d82619dfc /include/linux/sched.h | |
parent | fc73b874a454561ec98314dfd508e767153fa4d7 (diff) |
sched: defining relaxed version of idle_cpu
Defining relaxed version of idle_cpu, which uses
macro cpu_relaxed_read_long, that will be used to
enhance power efficiency.
bug 1440421
Change-Id: I6ba2185632ad0fba766a2548b0ddac743defb1b9
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/426484
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 674989708591..e23f8202c2bd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1939,6 +1939,7 @@ extern int task_nice(const struct task_struct *p); extern int can_nice(const struct task_struct *p, const int nice); extern int task_curr(const struct task_struct *p); extern int idle_cpu(int cpu); +extern int idle_cpu_relaxed(int cpu); extern int sched_setscheduler(struct task_struct *, int, const struct sched_param *); extern int sched_setscheduler_nocheck(struct task_struct *, int, |