summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-01-27 12:01:41 +0100
committerIngo Molnar <mingo@elte.hu>2012-01-27 12:01:43 +0100
commit801493c2e249a7314e9e8e54ad60d613d0a86f14 (patch)
treec8f77ce14e76abec848366812a0aad0fad4f539c /include
parent939ddcfa60dabfaed390987bf0103a6654c0fe30 (diff)
parent74ea15d909b31158f9b63190a95b52bc05586d4b (diff)
Merge branch 'linus' into perf/core
Merge reason: pick up fixes that are upstream, we need them because we'll apply dependent patches. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 513f5245987..2234985a5e6 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2090,7 +2090,7 @@ extern struct task_struct *idle_task(int cpu);
* is_idle_task - is the specified task an idle task?
* @p: the task in question.
*/
-static inline bool is_idle_task(struct task_struct *p)
+static inline bool is_idle_task(const struct task_struct *p)
{
return p->pid == 0;
}