dect
/
linux-2.6
Archived
13
0
Fork 0

[POWERPC] Wire up new timerfd syscalls

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Stephen Rothwell 2008-02-11 11:38:40 +11:00 committed by Paul Mackerras
parent ea24608f02
commit fb8642db19
2 changed files with 7 additions and 3 deletions

View File

@ -309,8 +309,10 @@ SYSCALL_SPU(getcpu)
COMPAT_SYS(epoll_pwait) COMPAT_SYS(epoll_pwait)
COMPAT_SYS_SPU(utimensat) COMPAT_SYS_SPU(utimensat)
COMPAT_SYS_SPU(signalfd) COMPAT_SYS_SPU(signalfd)
SYSCALL(ni_syscall) SYSCALL_SPU(timerfd_create)
SYSCALL_SPU(eventfd) SYSCALL_SPU(eventfd)
COMPAT_SYS_SPU(sync_file_range2) COMPAT_SYS_SPU(sync_file_range2)
COMPAT_SYS(fallocate) COMPAT_SYS(fallocate)
SYSCALL(subpage_prot) SYSCALL(subpage_prot)
COMPAT_SYS_SPU(timerfd_settime)
COMPAT_SYS_SPU(timerfd_gettime)

View File

@ -328,15 +328,17 @@
#define __NR_epoll_pwait 303 #define __NR_epoll_pwait 303
#define __NR_utimensat 304 #define __NR_utimensat 304
#define __NR_signalfd 305 #define __NR_signalfd 305
#define __NR_timerfd 306 #define __NR_timerfd_create 306
#define __NR_eventfd 307 #define __NR_eventfd 307
#define __NR_sync_file_range2 308 #define __NR_sync_file_range2 308
#define __NR_fallocate 309 #define __NR_fallocate 309
#define __NR_subpage_prot 310 #define __NR_subpage_prot 310
#define __NR_timerfd_settime 311
#define __NR_timerfd_gettime 312
#ifdef __KERNEL__ #ifdef __KERNEL__
#define __NR_syscalls 311 #define __NR_syscalls 313
#define __NR__exit __NR_exit #define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls #define NR_syscalls __NR_syscalls