* [PATCH] Always call schedule_tail on the v850
@ 2003-03-05 7:31 Miles Bader
0 siblings, 0 replies; only message in thread
From: Miles Bader @ 2003-03-05 7:31 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
The scheduler apparently now requires this.
diff -ruN -X../cludes linux-2.5.64-moo.orig/arch/v850/kernel/entry.S linux-2.5.64-moo/arch/v850/kernel/entry.S
--- linux-2.5.64-moo.orig/arch/v850/kernel/entry.S 2003-02-25 10:44:59.000000000 +0900
+++ linux-2.5.64-moo/arch/v850/kernel/entry.S 2003-03-05 16:13:52.000000000 +0900
@@ -511,10 +511,8 @@
(copy_thread makes ret_from_fork the return address in each new thread's
saved context). */
C_ENTRY(ret_from_fork):
-#if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)
mov r10, r6 // switch_thread returns the prev task.
jarl CSYM(schedule_tail), lp // ...which is schedule_tail's arg
-#endif
mov r0, r10 // Child's fork call should return 0.
br ret_from_trap // Do normal trap return.
C_END(ret_from_fork)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-05 7:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-05 7:31 [PATCH] Always call schedule_tail on the v850 Miles Bader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).