Re: [PATCH] m68k: Merge mmu and non-mmu versions of sys_call_table

Geert Uytterhoeven
2011-04-13T18:16:15Z

On Wed, Apr 6, 2011 at 22:33, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> +#ifndef CONFIG_MMU
> +#define sys_swapon             sys_ni_syscall
> +#define sys_swapoff            sys_ni_syscall
> +#define sys_mprotect           sys_ni_syscall
> +#define sys_msync              sys_ni_syscall
> +#define sys_mlock              sys_ni_syscall
> +#define sys_munlock            sys_ni_syscall
> +#define sys_mlockall           sys_ni_syscall
> +#define sys_munlockall         sys_ni_syscall
> +#define sys_mremap             sys_ni_syscall
> +#define sys_nfsservctl         sys_ni_syscall
> +#define sys_mincore            sys_ni_syscall
> +#define sys_madvise            sys_ni_syscall
> +#define sys_remap_file_pages   sys_ni_syscall
> +
> +#define sys_mmap2              sys_mmap_pgoff
> +#endif

When comparing this to the MMU comments in include/asm-generic/unistd.h,
I noticed this:

M68knommu does have:
- sys_mbind
- sys_get_mempolicy
- sys_set_mempolicy
- sys_migrate_pages
- sys_move_pages
- sys_fork, although it returns -EINVAL, not -ENOSYS

M68knommu does not implement:
- sys_mremap
- sys_nfsservctl

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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