]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] call schedule_tail() in m68knommu return from fork code path
authorGreg Ungerer <gerg@snapgear.com>
Tue, 11 Mar 2003 01:47:19 +0000 (17:47 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 11 Mar 2003 01:47:19 +0000 (17:47 -0800)
This patch adds a call to schedule_tail() in the return from fork
post processing.

arch/m68knommu/kernel/entry.S

index 8f22a297540971cd0f13bbf64a85a58476e54aef..2f66048153c0bd846fb03ce389ce351a09085e82 100644 (file)
@@ -84,6 +84,9 @@ ENTRY(reschedule)
        jmp     schedule
 
 ENTRY(ret_from_fork)
+       movel   %d1,%sp@-
+       jsr     schedule_tail
+       addql   #4,%sp
        jra     ret_from_exception
 
 ENTRY(sys_fork)