[ARM] Add more syscalls
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 Dec 2006 18:23:10 +0000 (18:23 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 Dec 2006 18:23:31 +0000 (18:23 +0000)
commit5a059f1ac0ed0c937257027aed5da50241f5ec2b
tree492d0a8bf452167baa9b941edc1d8edf9577ed7b
parent99f5e9718185f07458ae70c2282c2153a2256c91
[ARM] Add more syscalls

Add:
  sys_unshare
  sys_set_robust_list
  sys_get_robust_list
  sys_splice
  sys_arm_sync_file_range
  sys_tee
  sys_vmsplice
  sys_move_pages
  sys_getcpu

Special note about sys_arm_sync_file_range(), which is implemented as:

asmlinkage long sys_arm_sync_file_range(int fd, unsigned int flags,
                                        loff_t offset, loff_t nbytes)
{
        return sys_sync_file_range(fd, offset, nbytes, flags);
}

We can't export sys_sync_file_range() directly on ARM because the
argument list someone picked does not fit in the available registers.
Would be nice if... there was an arch maintainer review mechanism for
new syscalls before they hit the kernel.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/calls.S
arch/arm/kernel/sys_arm.c
include/asm-arm/unistd.h