Re: [uClinux-dev] __NR_restart_syscall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx
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
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux