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

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

 



On Wed, Apr 6, 2011 at 22:33, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx

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 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