[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 3/3] Fix sysdev time support
    Fix type of sleep_start, so as to eliminate clock skew due to math errors.

    diff -ruN 992-old/arch/i386/kernel/time.c 992-new/arch/i386/kernel/time.c
    --- 992-old/arch/i386/kernel/time.c 2004-11-12 09:19:22.219857040 +1100
    +++ 992-new/arch/i386/kernel/time.c 2004-11-12 09:13:12.000000000 +1100
    @@ -319,7 +319,8 @@
    return retval;

    -static long clock_cmos_diff, sleep_start;
    +static long clock_cmos_diff;
    +static unsigned long sleep_start;

    static int time_suspend(struct sys_device *dev, u32 state)
    Nigel Cunningham
    Pastoral Worker
    Christian Reformed Church of Tuggeranong
    PO Box 1004, Tuggeranong, ACT 2901

    You see, at just the right time, when we were still powerless, Christ
    died for the ungodly. -- Romans 5:6

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

     \ /
      Last update: 2005-03-22 14:07    [W:0.037 / U:21.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site