diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-20 20:23:24 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-11-20 20:23:24 +0000 |
commit | d5567b8d752bc79cfd35d7a3ff1e0097b95a544e (patch) | |
tree | fa7f354b6b175ac8d2edafb27f4cb12b6912b463 | |
parent | 75cc619bb3dc7929b23fa561abe1202711befb30 (diff) | |
download | newlib-d5567b8d752bc79cfd35d7a3ff1e0097b95a544e.zip newlib-d5567b8d752bc79cfd35d7a3ff1e0097b95a544e.tar.gz newlib-d5567b8d752bc79cfd35d7a3ff1e0097b95a544e.tar.bz2 |
2008-11-20 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
be in sync with current kernels.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/machine/spu/sys/linux_syscalls.h | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index eceb979..603ba60 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,4 +1,9 @@ 2008-11-20 Ken Werner <ken.werner@de.ibm.com> + + * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to + be in sync with current kernels. + +2008-11-20 Ken Werner <ken.werner@de.ibm.com> Patrick Mansfield <patmans@us.ibm.com> Joel Schopp <jschopp@austin.ibm.com> diff --git a/newlib/libc/machine/spu/sys/linux_syscalls.h b/newlib/libc/machine/spu/sys/linux_syscalls.h index f145641..b7a85fe 100644 --- a/newlib/libc/machine/spu/sys/linux_syscalls.h +++ b/newlib/libc/machine/spu/sys/linux_syscalls.h @@ -37,7 +37,7 @@ extern "C" { #endif /* The system call numbers. See kernel source file - include/asm-powerpc/unistd.h. */ + arch/powerpc/include/asm/unistd.h. */ #define __NR_read 3 #define __NR_write 4 #define __NR_open 5 @@ -275,10 +275,19 @@ extern "C" { #define __NR_timerfd 306 #define __NR_eventfd 307 #define __NR_sync_file_range2 308 - +#define __NR_fallocate 309 +#define __NR_subpage_prot 310 +#define __NR_timerfd_settime 311 +#define __NR_timerfd_gettime 312 +#define __NR_signalfd4 313 +#define __NR_eventfd2 314 +#define __NR_epoll_create1 315 +#define __NR_dup3 316 +#define __NR_pipe2 317 +#define __NR_inotify_init1 318 /* System callbacks from the SPU. See kernel source file - include/asm-powerpc/spu.h. */ + arch/powerpc/include/asm/spu.h. */ struct spu_syscall_block { unsigned long long nr_ret; /* System call nr and return value. */ |