PATCH: jiffies is UL

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 8 Apr 2003 01:36:11 +0100


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/include/linux/time.h linux-2.5.67-ac1/include/linux/time.h
--- linux-2.5.67/include/linux/time.h 2003-03-06 17:04:37.000000000 +0000
+++ linux-2.5.67-ac1/include/linux/time.h 2003-03-07 14:57:13.000000000 +0000
@@ -31,7 +31,7 @@
* Have the 32 bit jiffies value wrap 5 minutes after boot
* so jiffies wrap bugs show up earlier.
*/
-#define INITIAL_JIFFIES ((unsigned int) (-300*HZ))
+#define INITIAL_JIFFIES ((unsigned long) (-300*HZ))

/*
* Change timeval to jiffies, trying to avoid the
-
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/