diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-11-05 17:25:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 19:55:17 -0800 |
commit | efbbdce94f6ea54cf06d9a06e4c95f6874ad64a8 (patch) | |
tree | 8f2b387266cae7ea06a1cd100174cb849fd45a8d /include/asm-alpha/namei.h | |
parent | bf0f2e23834e2bf7d64b467ef07095b1c7e2c04b (diff) | |
download | blackbird-op-linux-efbbdce94f6ea54cf06d9a06e4c95f6874ad64a8.tar.gz blackbird-op-linux-efbbdce94f6ea54cf06d9a06e4c95f6874ad64a8.zip |
[PATCH] x86_64: Use common sys_time64
Keeping this function does not makes sense because it's a copied (and
buggy) copy of sys_time. The only difference is that now.tv_sec (which is
a time_t, i.e. a 64-bit long) is copied (and truncated) into a int
(32-bit).
The prototype is the same (they both take a long __user *), so let's drop
this and redirect it to sys_time (and make sure it exists by defining
__ARCH_WANT_SYS_TIME).
Only disadvantage is that the sys_stime definition is also compiled (may be
fixed if needed by adding a separate __ARCH_WANT_SYS_STIME macro, and
defining it for all arch's defining __ARCH_WANT_SYS_TIME except x86_64).
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/namei.h')
0 files changed, 0 insertions, 0 deletions