linux-mips
[Top] [All Lists]

Re: [PATCH 5/5] Implement clockevents for R4000-style cp0 timer

To: vagabon.xyz@gmail.com
Subject: Re: [PATCH 5/5] Implement clockevents for R4000-style cp0 timer
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 14 Jun 2007 21:29:13 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <11818164024053-git-send-email-fbuihuu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11818164011355-git-send-email-fbuihuu@gmail.com> <11818164024053-git-send-email-fbuihuu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 14 Jun 2007 12:20:01 +0200, Franck Bui-Huu <vagabon.xyz@gmail.com> 
wrote:
>  create mode 100644 arch/mips/lib/time.c

I think this to_tm() cleanup should be done in separate patch.

Maybe selecting RTC_LIB in Kconfig and replace all to_tm() calls with

        rtc_time_to_tm(tim, tm);
        tm->tm_year += 1900;

would be enough.

---
Atsushi Nemoto

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