Vineet Gupta
Vinee****@synop*****
2016年 5月 2日 (月) 14:13:46 JST
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 <james****@imgte*****> > Cc: Arnd Bergmann <arnd****@arndb*****> > Cc: linux****@vger***** > Cc: Vineet Gupta <vgupt****@synop*****> > Cc: linux****@lists***** > Cc: Catalin Marinas <catal****@arm*****> > Cc: Will Deacon <will.****@arm*****> > Cc: linux****@lists***** > Cc: Mark Salter <msalt****@redha*****> > Cc: Aurelien Jacquiot <a-jac****@ti*****> > Cc: linux****@linux***** > Cc: Richard Kuo <rkuo****@codea*****> > Cc: linux****@vger***** > Cc: linux****@vger***** > Cc: Jonas Bonn <jonas****@south*****> > Cc: linux****@lists***** > Cc: Chen Liqin <liqin****@gmail*****> > Cc: Lennox Wu <lenno****@gmail*****> > Cc: Chris Metcalf <cmetc****@mella*****> > Cc: Guan Xuetao <gxt****@mprc*****> > Cc: Ley Foon Tan <lftan****@alter*****> > Cc: nios2****@lists***** > Cc: Yoshinori Sato <ysato****@users*****> > Cc: uclin****@lists***** > --- > I just found this patch on an old branch, it appears to have slipped > through the cracks. Time for a respon. > > Changes in v2: > - Rebase onto v4.6-rc5. > - Add __ARCH_WANT_RENAMEAT to h8300 and nios2 arches too. > --- > arch/arc/include/uapi/asm/unistd.h | 1 + Acked-by: Vineet Gupta <vgupt****@synop*****> # for arch/arc