scripts/checksyscalls.sh: Make renameat optional
authorJames Hogan <james.hogan@imgtec.com>
Wed, 23 Apr 2014 10:08:06 +0000 (11:08 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 20 May 2014 08:59:38 +0000 (10:59 +0200)
commit68b7752462aba4716d9236b28aaa91b48fe059cd
treef0fe13fac0021bc2484b4d8f12f895f51eb81e06
parent63ba600028a001fa19f427486527387f54926d61
scripts/checksyscalls.sh: Make renameat optional

The new renameat2 syscall provides all the functionality of renameat
with an additional flags argument, so make renameat optional so that
future architectures can omit it without getting a warning.

This patch doesn't affect existing architectures.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: linux-arch@vger.kernel.org
scripts/checksyscalls.sh