asm-generic: add memfd_create system call to unistd.h
authorWill Deacon <will.deacon@arm.com>
Mon, 11 Aug 2014 13:24:47 +0000 (14:24 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 18 Aug 2014 18:47:04 +0000 (19:47 +0100)
commit503e6636b6f96056210062be703356f4253b6db9
tree08ea75a52b47196c47cea89ce7685b1c9e7ab5d4
parenta97a42c47608d0bb6f2dfc2e162cc84a27beb43a
asm-generic: add memfd_create system call to unistd.h

Commit 9183df25fe7b ("shm: add memfd_create() syscall") added a new
system call (memfd_create) but didn't update the asm-generic unistd
header.

This patch adds the new system call to the asm-generic version of
unistd.h so that it can be used by architectures such as arm64.

Cc: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
include/uapi/asm-generic/unistd.h