From e482f667f3948efb1cbb8f3d491919f6ebf48236 Mon Sep 17 00:00:00 2001 From: Sumit Singh Date: Mon, 21 Apr 2014 15:25:25 +0530 Subject: 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 Reviewed-on: http://git-master/r/426484 Reviewed-by: Sri Krishna Chowdary GVS: Gerrit_Virtual_Submit Reviewed-by: Alexander Van Brunt --- include/linux/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/sched.h') 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, -- cgit v1.2.3