From ab8d3839e5d570fee6b52fe715ef5e89177055f3 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 20 Dec 2011 08:20:46 -0800 Subject: [PATCH] --- yaml --- r: 286798 b: refs/heads/master c: 7061ca3b6c99fc78115560b9a10227c8c5fafc45 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8239c90ec786..c91705b5beff 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d8e8ed95cda1dfd6813588333d36552935eba4a1 +refs/heads/master: 7061ca3b6c99fc78115560b9a10227c8c5fafc45 diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index 4a7e4d333a27..56fa25a5b1eb 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -2074,7 +2074,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; }