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

Miles Bader (miles@lsi.nec.co.jp)
Tue, 8 Apr 2003 18:27:41 +0900 (JST)


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/