diff for duplicates of <1188247231.18004.129.camel@localhost> diff --git a/a/1.txt b/N1/1.txt index e016ee2..c66dceb 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -81,7 +81,7 @@ index ba78807..71d40a1 100644 -static inline int is_init(struct task_struct *tsk) +static inline int is_init(const struct task_struct *tsk) { - return tsk->pid = 1; + return tsk->pid == 1; } @@ -1639,7 +1639,7 @@ extern void wait_task_inactive(struct task_struct * p); * all we care about is that we have a task with the appropriate @@ -90,7 +90,7 @@ index ba78807..71d40a1 100644 -static inline int has_group_leader_pid(struct task_struct *p) +static inline int has_group_leader_pid(const struct task_struct *p) { - return p->pid = p->tgid; + return p->pid == p->tgid; } @@ -1650,7 +1650,7 @@ static inline struct task_struct *next_thread(const struct task_struct *p) struct task_struct, thread_group); diff --git a/a/content_digest b/N1/content_digest index 7241654..269f055 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Joe Perches <joe@perches.com>\0" "Subject\0[PATCH] trivial - constify sched.h\0" - "Date\0Mon, 27 Aug 2007 20:40:31 +0000\0" + "Date\0Mon, 27 Aug 2007 13:40:31 -0700\0" "To\0Ingo Molnar <mingo@elte.hu>\0" "Cc\0linux-kernel@vger.kernel.org" " kernel-janitors@vger.kernel.org\0" @@ -89,7 +89,7 @@ "-static inline int is_init(struct task_struct *tsk)\n" "+static inline int is_init(const struct task_struct *tsk)\n" " {\n" - " \treturn tsk->pid = 1;\n" + " \treturn tsk->pid == 1;\n" " }\n" "@@ -1639,7 +1639,7 @@ extern void wait_task_inactive(struct task_struct * p);\n" " * all we care about is that we have a task with the appropriate\n" @@ -98,7 +98,7 @@ "-static inline int has_group_leader_pid(struct task_struct *p)\n" "+static inline int has_group_leader_pid(const struct task_struct *p)\n" " {\n" - " \treturn p->pid = p->tgid;\n" + " \treturn p->pid == p->tgid;\n" " }\n" "@@ -1650,7 +1650,7 @@ static inline struct task_struct *next_thread(const struct task_struct *p)\n" " \t\t\t struct task_struct, thread_group);\n" @@ -110,4 +110,4 @@ " \treturn list_empty(&p->thread_group);\n" } -c7fdd9fad1b72535eeb1c1d747e2db83320c3ff2eb6ecda8062bf949edec01ff +58192ff8fb5e43ceee1818ea03912ffd0154811afc38b7b76bd93a35a9e33ce4
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.