summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2003-08-24 08:15:37 +1000
committerPaul Mackerras <paulus@samba.org>2003-08-24 08:15:37 +1000
commit5cb01d4a2cbab31c829c91beaadd2f4b5cd0a134 (patch)
tree37596de3982e74cabf64b98ff16afc1d4cd28454 /include
parent913d239d4207755fbd9bb793e97c5a3e1b1ff0fc (diff)
PPC32: Add the fadvise64_64 system call.
On PPC32 we reorder the arguments so they fit into 6 registers. Glibc will need a two-line stub to change them from the standard order to the ordering used by the system call: (fd, advice, offset, len).
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc/unistd.h b/include/asm-ppc/unistd.h
index 400f86ec5b93..bf1df39dfcec 100644
--- a/include/asm-ppc/unistd.h
+++ b/include/asm-ppc/unistd.h
@@ -258,8 +258,9 @@
#define __NR_utimes 251
#define __NR_statfs64 252
#define __NR_fstatfs64 253
+#define __NR_fadvise64_64 254
-#define __NR_syscalls 254
+#define __NR_syscalls 255
#define __NR(n) #n