Hi Geert,

Geert Uytterhoeven wrote:
I noticed m68knommu has in include/asm-m68knommu/unistd.h:

    #define __NR_restart_syscall      0

and in arch/m68knommu/kernel/signal.c:

    regs->d0 = __NR_restart_syscall;

while m68k doesn't have __NR_restart_syscall and handles syscall restarts
differently.

Furthermore, both arch/m68knommu/kernel/syscalltable.S and
arch/m68k/kernel/entry.S have for entry 0:

    .long sys_ni_syscall    /* 0  -  old "setup()" system call*/

i.e. on m68knommu system call restarting doesn't do anything.

Yes, sure does look wrong. The handling looks like it should
work the same as for m68k. I'll fix...

Thanks
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to