ARM: 6343/1: wire up fanotify and prlimit64 syscalls on ARM
authorMikael Pettersson <mikpe@it.uu.se>
Wed, 25 Aug 2010 19:49:01 +0000 (20:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 1 Sep 2010 09:06:08 +0000 (10:06 +0100)
commit418cf646c9999f2f7d216b1a693c2c575ab8094c
tree0ae511984d363a67e5f50f858d515a105c689476
parent25d3584797a39f57b69cd835722ac7c41113fb9a
ARM: 6343/1: wire up fanotify and prlimit64 syscalls on ARM

The 2.6.36-rc kernel added three new system calls:
fanotify_init, fanotify_mark, and prlimit64.  This patch
wires them up on ARM.

The only non-trivial issue here is the u64 argument to
sys_fanotify_mark(), but it is the 3rd argument and thus
passed in r2/r3 in both kernel and user space, so it causes
no problems.

Tested with a 2.6.36-rc2 EABI kernel on an ixp4xx machine.

Tested-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/unistd.h
arch/arm/kernel/calls.S