diff options
Diffstat (limited to 'include/linux')
| -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); | |||
| 2090 | * is_idle_task - is the specified task an idle task? | 2090 | * is_idle_task - is the specified task an idle task? |
| 2091 | * @p: the task in question. | 2091 | * @p: the task in question. |
| 2092 | */ | 2092 | */ |
| 2093 | static inline bool is_idle_task(struct task_struct *p) | 2093 | static inline bool is_idle_task(const struct task_struct *p) |
| 2094 | { | 2094 | { |
| 2095 | return p->pid == 0; | 2095 | return p->pid == 0; |
| 2096 | } | 2096 | } |
