[uClinux-dev] __NR_restart_syscall
Greg Ungerer
gerg at snapgear.com
Tue Aug 28 02:27:36 EDT 2007
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: gerg at snapgear.com
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
More information about the uClinux-dev
mailing list