Re: year 2038 problem on x86-64

Andi Kleen
2004-09-22T22:51:47Z

Pavel Machek <pavel@suse.cz> writes:

> Hi!
>
>> >
>> > ... __ARCH_WANT_SYS_TIME actually is set on x86-64.
>>
>> But it's not used. It declares an own sys_time64 in arch/x86_64
>> By default the vsyscall code is used.
>
> So should __ARCH_WANT_SYS_TIME be killed from x86_64?

No. The 32bit emulation uses it.

In theory you could make it conditional on CONFIG_IA32_EMULATION,
but that would be probably overkill.

-Andi