linux-mips
[Top] [All Lists]

time(2) for mips64

To: linux-mips@linux-mips.org
Subject: time(2) for mips64
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 02 Oct 2003 14:45:08 +0900 (JST)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Should mips64 kernel support time(2) system call for n32/n64 ABI?

Both 2.4 and 2.6 kernel define __NR_time and use sys_time.  But
sys_time in kernel/time.c is not 64-bit clean.

We should remove definition of __NR_time from unistd.h (and sys_time
from scall_64.S), or implement local version of sys_time.

Which way to go?
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>