On Wed, 30 Sep 2015, Ingo Molnar wrote:
> diff --git a/fs/proc/array.c b/fs/proc/array.c
> index f60f0121e331..99082730b2ac 100644
> --- a/fs/proc/array.c
> +++ b/fs/proc/array.c
> @@ -507,7 +507,7 @@ static int do_task_stat(struct seq_file *m, struct 
> pid_namespace *ns,
>       seq_put_decimal_ull(m, ' ', task->blocked.sig[0] & 0x7fffffffUL);
>       seq_put_decimal_ull(m, ' ', sigign.sig[0] & 0x7fffffffUL);
>       seq_put_decimal_ull(m, ' ', sigcatch.sig[0] & 0x7fffffffUL);
> -     seq_put_decimal_ull(m, ' ', wchan);
> +     seq_puts(m, " 0"); /* Used to be numeric wchan - replaced by 
> /proc/PID/wchan */

That should get rid of all wchan usage in do_task_stat()

Thanks,

        tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to