Messages in this thread | | | Date | Sat, 15 Feb 2003 18:43:17 -0800 | From | William Lee Irwin III <> | Subject | Re: [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/
| |