path: root/arch/arc/include/uapi/asm/unistd.h
diff options
authorJames Hogan <>2016-04-29 22:29:26 +0100
committerArnd Bergmann <>2016-05-05 00:42:21 +0200
commitb0da6d44157aa6e652de7634343708251ba64146 (patch)
tree1682d74bb6533eaa4d43a5fc03c5a1b2c9d16079 /arch/arc/include/uapi/asm/unistd.h
parent1f93e9f2318b598e6775a1fc9701604993c512b1 (diff)
asm-generic: Drop renameat syscall from default list
The newer renameat2 syscall provides all the functionality provided by the renameat syscall and adds flags, so future architectures won't need to include renameat. Therefore drop the renameat syscall from the generic syscall list unless __ARCH_WANT_RENAMEAT is defined by the architecture's unistd.h prior to including asm-generic/unistd.h, and adjust all architectures using the generic syscall list to define it so that no in-tree architectures are affected. Signed-off-by: James Hogan <> Acked-by: Vineet Gupta <> Cc: Cc: Cc: Catalin Marinas <> Cc: Will Deacon <> Cc: Cc: Mark Salter <> Cc: Aurelien Jacquiot <> Cc: Cc: Richard Kuo <> Cc: Cc: Cc: Jonas Bonn <> Cc: Cc: Chen Liqin <> Cc: Lennox Wu <> Cc: Chris Metcalf <> Cc: Guan Xuetao <> Cc: Ley Foon Tan <> Cc: Cc: Yoshinori Sato <> Cc: Signed-off-by: Arnd Bergmann <>
Diffstat (limited to 'arch/arc/include/uapi/asm/unistd.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arc/include/uapi/asm/unistd.h b/arch/arc/include/uapi/asm/unistd.h
index 39e58d1cdf90..41fa2ec9e02c 100644
--- a/arch/arc/include/uapi/asm/unistd.h
+++ b/arch/arc/include/uapi/asm/unistd.h
@@ -15,6 +15,7 @@
#if !defined(_UAPI_ASM_ARC_UNISTD_H) || defined(__SYSCALL)