From 10d91b8cfba9afd15956db09b87bf95a699c48ba Mon Sep 17 00:00:00 2001 From: Keith Owens Date: Mon, 10 Apr 2006 22:54:07 -0700 Subject: [PATCH] --- yaml --- r: 25507 b: refs/heads/master c: a9cdf410ca8f59b52bc7061a6751050010c7cc5b h: refs/heads/master i: 25505: 7572ab9c06795119d1898ed24071460d5c03c517 25503: 6f0499f3c4b83c40bdec34a74544a12489873e09 v: v3 --- [refs] | 2 +- trunk/include/linux/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0d4fe4b88145..a4c9c128ffd2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 49b6e2ad00435209503863932d03470f825e0a1a +refs/heads/master: a9cdf410ca8f59b52bc7061a6751050010c7cc5b diff --git a/trunk/include/linux/sched.h b/trunk/include/linux/sched.h index a3e4f6b503a3..83d657811d01 100644 --- a/trunk/include/linux/sched.h +++ b/trunk/include/linux/sched.h @@ -1206,7 +1206,7 @@ extern void wait_task_inactive(task_t * p); /* de_thread depends on thread_group_leader not being a pid based check */ #define thread_group_leader(p) (p == p->group_leader) -static inline task_t *next_thread(task_t *p) +static inline task_t *next_thread(const task_t *p) { return list_entry(rcu_dereference(p->thread_group.next), task_t, thread_group);