diff options
author | Ingo Molnar <mingo@elte.hu> | 2012-01-27 12:01:41 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-27 12:01:43 +0100 |
commit | 801493c2e249a7314e9e8e54ad60d613d0a86f14 (patch) | |
tree | c8f77ce14e76abec848366812a0aad0fad4f539c /include | |
parent | 939ddcfa60dabfaed390987bf0103a6654c0fe30 (diff) | |
parent | 74ea15d909b31158f9b63190a95b52bc05586d4b (diff) | |
download | linux-801493c2e249a7314e9e8e54ad60d613d0a86f14.tar.bz2 |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 513f52459872..2234985a5e65 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; } |