diff options
author | Anton Blanchard <anton@samba.org> | 2006-01-07 00:49:49 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 15:47:13 +1100 |
commit | 002ec58eb57bac2380f0ed5a4e88121b4bdb32ec (patch) | |
tree | f8ee3f3028e6c316b5e49f296b9283c1f79f42da /arch/powerpc/kernel/systbl.S | |
parent | aed9c6ccb87d96c333bd6ae631d9e90f3b6d7271 (diff) | |
download | blackbird-op-linux-002ec58eb57bac2380f0ed5a4e88121b4bdb32ec.tar.gz blackbird-op-linux-002ec58eb57bac2380f0ed5a4e88121b4bdb32ec.zip |
[PATCH] ppc64: fix time syscall
ppc64 has its own version of sys_time. It looks pretty scary, touching
a whole bunch of variables without any locking or memory ordering.
In fact, a recent bugreport has shown it can actually go backwards. Time
to remove it and just use the generic sys_time, which is implemented on
top of do_gettimeofday.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/systbl.S')
-rw-r--r-- | arch/powerpc/kernel/systbl.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/systbl.S b/arch/powerpc/kernel/systbl.S index 989f6286991a..65463a1076e8 100644 --- a/arch/powerpc/kernel/systbl.S +++ b/arch/powerpc/kernel/systbl.S @@ -54,7 +54,7 @@ SYSCALL(link) SYSCALL(unlink) COMPAT_SYS(execve) SYSCALL(chdir) -SYSX(sys64_time,compat_sys_time,sys_time) +COMPAT_SYS(time) SYSCALL(mknod) SYSCALL(chmod) SYSCALL(lchown) |