lkml.org 
[lkml]   [2003]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] make jiffies wrap 5 min after boot
    At some point in the past, someone else wrote:
    >> +#define INITIAL_JIFFIES (0xffffffffUL & (unsigned long)(-300*HZ))

    On Sun, Feb 16, 2003 at 01:08:08PM +1100, Anton Blanchard wrote:
    > In order to make 64bit arches wrap too, you might want to use -1UL here.
    > Not that jiffies should wrap on a 64bit machine...

    Can I get a vote for ~0UL instead of -1UL?

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

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:0.028 / U:29.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site