[MIPS] fstatat syscall names
authorRichard Sandiford <richard@codesourcery.com>
Sun, 17 Sep 2006 19:38:39 +0000 (20:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:56 +0000 (13:37 +0100)
commitddb1199c4cd74a02d70f4c297373400893d70aa9
tree998c3f089fc6eb326d5319c58be645b3919bf7a9
parent63415dbb54fb929a6ea597f2f6b885d570225d90
[MIPS] fstatat syscall names

MIPS is the only port to call its fstatat()-related syscalls
"__NR_fstatat".  Now I can see why that might be seen as every
other port being wrong, but I think for o32, it is at best confusing.
__NR_fstat provides a plain (32-bit) stat while __NR_fstatat provides a
64-bit stat.  Changing the name to __NR_fstatat64 would make things more
explicit, match x86, and make the glibc port slightly easier.

The current name is more appropriate for n32 and n64, but it would be
appropriate for other 64-bit targets too, and those targets have chosen
to call it __NR_newfstatat instead.  Using the same name for MIPS would
again be more consistent and make the glibc port slightly easier.

I'm not wedded to this idea if the current names are preferred,
but FWIW...

Signed-off-by: Richard Sandiford <richard@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/unistd.h