diff options
author | Ingo Molnar <mingo@elte.hu> | 2012-01-17 09:44:17 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-17 09:44:17 +0100 |
commit | b64b223aed5f8aeeb6c046f1b050a8f976b87de0 (patch) | |
tree | f4ce305aaae5fa04f55ad04a3b9ee501158decde /include/linux/sched.h | |
parent | 5d53cb27d849c899136c048ec84c940ac449494b (diff) | |
parent | 4410030646be072b82ec1892ad5cc7d91af384d8 (diff) |
Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/urgent
Diffstat (limited to 'include/linux/sched.h')
-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 cf0eb342bcb..40d84481a1c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -2089,7 +2089,7 @@ extern struct task_struct *idle_task(int cpu); * is_idle_task - is the specified task an idle task? * @tsk: 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; } |