summaryrefslogtreecommitdiff
path: root/arch/ppc/kernel
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2003-02-20 20:20:39 +1100
committerPaul Mackerras <paulus@samba.org>2003-02-20 20:20:39 +1100
commit411371cb3a33f0ef1febe01aadef040ce7c41447 (patch)
tree86c3235c95237d0ed169beacbf4d2daa0c3a5d8e /arch/ppc/kernel
parentffb5450c435e42e0eaa206cb13e6f4731e0f3ba8 (diff)
PPC32: add system calls for POSIX timer stuff
Diffstat (limited to 'arch/ppc/kernel')
-rw-r--r--arch/ppc/kernel/entry.S1
-rw-r--r--arch/ppc/kernel/misc.S13
2 files changed, 10 insertions, 4 deletions
diff --git a/arch/ppc/kernel/entry.S b/arch/ppc/kernel/entry.S
index 4c67a4a7fcff..04d274804278 100644
--- a/arch/ppc/kernel/entry.S
+++ b/arch/ppc/kernel/entry.S
@@ -30,6 +30,7 @@
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/offsets.h>
+#include <asm/unistd.h>
#undef SHOW_SYSCALLS
#undef SHOW_SYSCALLS_TASK
diff --git a/arch/ppc/kernel/misc.S b/arch/ppc/kernel/misc.S
index f653bebb23d8..d0d023847313 100644
--- a/arch/ppc/kernel/misc.S
+++ b/arch/ppc/kernel/misc.S
@@ -1281,7 +1281,12 @@ _GLOBAL(sys_call_table)
.long sys_epoll_ctl
.long sys_epoll_wait
.long sys_remap_file_pages
-
- .rept NR_syscalls-(.-sys_call_table)/4
- .long sys_ni_syscall
- .endr
+ .long sys_timer_create /* 240 */
+ .long sys_timer_settime
+ .long sys_timer_gettime
+ .long sys_timer_getoverrun
+ .long sys_timer_delete
+ .long sys_clock_settime /* 245 */
+ .long sys_clock_gettime
+ .long sys_clock_getres
+ .long sys_clock_nanosleep