Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286798
b: refs/heads/master
c: 7061ca3
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney committed Jan 16, 2012
1 parent d6d0c62 commit ab8d383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8e8ed95cda1dfd6813588333d36552935eba4a1
refs/heads/master: 7061ca3b6c99fc78115560b9a10227c8c5fafc45
2 changes: 1 addition & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ab8d383

Please sign in to comment.