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.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to