Messages in this thread |  | | Date | Mon, 25 Sep 2000 11:35:35 +0200 (MET DST) | | From | "Maciej W. Rozycki" <> | | Subject | Re: [patch] 2.4.0-test8: Alpha RTC clean-ups |
| |
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/
|  |