]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: fix time syscall
authorAnton Blanchard <anton@samba.org>
Fri, 6 Jan 2006 13:49:49 +0000 (00:49 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:47:13 +0000 (15:47 +1100)
commit3cf52bd0541affc1b7879b08628eca7a0626d1b1
treef8ee3f3028e6c316b5e49f296b9283c1f79f42da
parente5ee95fa901729df4a8638045ab0f174514108f5
[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>
arch/powerpc/kernel/syscalls.c
arch/powerpc/kernel/systbl.S