From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v2] asm-generic: Drop renameat syscall from default list Date: Mon, 02 May 2016 15:23:12 +0200 Message-ID: <5769874.XvA4zrbPZs@wuerfel> References: <1461965366-7893-1-git-send-email-james.hogan@imgtec.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-metag-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Vineet Gupta , Chen Liqin Cc: James Hogan , "linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-snps-arc-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Catalin Marinas , Will Deacon , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , Mark Salter , Aurelien Jacquiot , "linux-c6x-dev-jPsnJVOj+W6hPH1hqNUYSQ@public.gmane.org" , Richard Kuo , "linux-hexagon-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Jonas Bonn , Lennox Wu , Chris Metcalf , Guan Xuetao , Ley Foon Tan , "nios2-dev-g9ZBwUv/Ih/yUk5EbOjzuce+I+R0W71w@public.gmane.org" , Yoshin On Monday 02 May 2016 05:13:46 Vineet Gupta wrote: > On Saturday 30 April 2016 02:59 AM, James Hogan wrote: > > 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 # for arch/arc Applied to the asm-generic, tree, thanks! Arnd