lkml.org 
[lkml]   [2014]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/28] nios2 Linux kernel port
On 04/20/2014 10:23 PM, Ley Foon Tan wrote:
> On Sat, Apr 19, 2014 at 11:30 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>> On Friday 18 April 2014, H. Peter Anvin wrote:
>>> Did the generic headers ever get updated to match Linus' guidance that
>>> any new architecture ports should use a 64-bit time_t?
>>
>> No, unfortunately not. With my rule that every architecture that gets
>> added needs to clean up asm-generic some more, to make it easier to add
>> the next one, we should probably do for nios2.
>>
>> Arnd
>
> Can you give me the documentation on this new guidance and point me
> any architecture have implemented this?
> Thanks.
>

We implemented it in the x32 ABI for x86. In generic code this is keyed
by COMPAT_USE_64BIT_TIME, but in your case it isn't actually a matter of
compat, so it should be easier.

See this thread including the discussion about time_t:

https://lkml.org/lkml/2011/8/26/415

-hpa



\
 
 \ /
  Last update: 2014-04-21 08:01    [W:0.110 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site