Messages in this thread | | | Date | Sun, 16 Feb 2003 13:08:08 +1100 | From | Anton Blanchard <> | Subject | Re: [PATCH] make jiffies wrap 5 min after boot |
| |
Hi,
> +#define INITIAL_JIFFIES (0xffffffffUL & (unsigned long)(-300*HZ))
In order to make 64bit arches wrap too, you might want to use -1UL here. Not that jiffies should wrap on a 64bit machine...
Anton - 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/
| |