lkml.org 
[lkml]   [2005]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] [PATCH 12/13] Change pid accesses: ia64 and mips
Date
On Mon, 14 Nov 2005 15:23:53 -0600, 
"Serge E. Hallyn" <serue@us.ibm.com> wrote:
>Index: linux-2.6.15-rc1/arch/ia64/kernel/mca.c
>===================================================================
>--- linux-2.6.15-rc1.orig/arch/ia64/kernel/mca.c
>+++ linux-2.6.15-rc1/arch/ia64/kernel/mca.c
>@@ -755,9 +755,9 @@ ia64_mca_modify_original_stack(struct pt
> * (swapper or nested MCA/INIT) then use the start of the previous comm
> * field suffixed with its cpu.
> */
>- if (previous_current->pid)
>+ if (previous_task_pid(current))
> snprintf(comm, sizeof(comm), "%s %d",
>- current->comm, previous_current->pid);
>+ current->comm, previous_task_pid(current));
> else {
> int l;
> if ((p = strchr(previous_current->comm, ' ')))

That makes no sense, previous_task_pid() is not defined anywhere.
Looks like a global edit error and should probably be
task_pid(previous_current).

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

\
 
 \ /
  Last update: 2005-11-16 00:10    [W:0.884 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site