Re: [patch] 2.4.0-test8: Alpha RTC clean-ups

From: Maciej W. Rozycki (macro@ds2.pg.gda.pl)
Date: Mon Sep 25 2000 - 04:35:35 EST


On Fri, 22 Sep 2000, Jan-Benedict Glaw wrote:

> Instead of having hard-coded values, we should maybe do something
> more variable like:
> if (year >= (20 + YEARS_SINCE_2000) && year < (48 + YEARS_SINCE_2000)
> ...

 This looks reasonable.

> YEARS_SINCE_2000 could be define'd through (menu;x;...)config...

 I don't think it's really needed. We have 20 years before epoch gets
misdetected. Just keeping the macro up to date for Linux releases should
be enough (and if someone insists on running a given kernel for such a
long time, they may modify sources accordingly themselves).

> This applies to other platforms using different epoch vaules as
> well, of course...

 Alpha appears to be the only one.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:13 EST