v68: use makeproc
authorAlan Cox <alan@linux.intel.com>
Sat, 8 Dec 2018 01:19:48 +0000 (01:19 +0000)
committerAlan Cox <alan@linux.intel.com>
Sat, 8 Dec 2018 01:19:48 +0000 (01:19 +0000)
Kernel/platform-v68/tricks.S

index a73d303..29b86f8 100644 (file)
@@ -151,10 +151,11 @@ dofork:
        tst.w d0
        bne forked_up
 
+       movel a5,-(sp)                  ;       U_DATA
        move.l 4(sp),a0
        move.l a0,-(sp)
-       jsr newproc
-       addq #4,sp
+       jsr makeproc
+       addq #8,sp
 
        moveq #0,d0                     ;       child, ok
        clr.w runticks