[PATCH][v850] Correct argument to thread_saved_pc on v850

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Apr 08 2003 - 04:27:41 EST


diff -ruN -X../cludes linux-2.5.67-moo.orig/arch/v850/kernel/process.c linux-2.5.67-moo/arch/v850/kernel/process.c
--- linux-2.5.67-moo.orig/arch/v850/kernel/process.c 2003-02-25 10:44:59.000000000 +0900
+++ linux-2.5.67-moo/arch/v850/kernel/process.c 2003-04-08 10:39:41.000000000 +0900
@@ -226,7 +226,7 @@
         if (!p || p == current || p->state == TASK_RUNNING)
                 return 0;
 
- pc = thread_saved_pc (&p->thread);
+ pc = thread_saved_pc (p);
 
         /* This quite disgusting function walks up the stack, following
            saved return address, until it something that's out of bounds
-
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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:15 EST