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

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Mon Mar 24 2003 - 21:56:58 EST


diff -ruN -X../cludes linux-2.5.66-moo.orig/arch/v850/kernel/process.c linux-2.5.66-moo/arch/v850/kernel/process.c
--- linux-2.5.66-moo.orig/arch/v850/kernel/process.c 2003-02-25 10:44:59.000000000 +0900
+++ linux-2.5.66-moo/arch/v850/kernel/process.c 2003-03-25 10:37:52.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 : Mon Mar 31 2003 - 22:00:18 EST