[lkml]   [2000]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [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:, PGP key available +

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:38    [W:0.024 / U:14.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site