Commit 3909ac80 authored by Linus Torvalds's avatar Linus Torvalds

Make it more explicit that jiffies are "unsigned long", but

that we for the initial value ctually want to check only
wrap-around in an "unsigned int". 
parent ab780cf9
...@@ -31,7 +31,7 @@ struct timezone { ...@@ -31,7 +31,7 @@ struct timezone {
* Have the 32 bit jiffies value wrap 5 minutes after boot * Have the 32 bit jiffies value wrap 5 minutes after boot
* so jiffies wrap bugs show up earlier. * so jiffies wrap bugs show up earlier.
*/ */
#define INITIAL_JIFFIES ((unsigned int) (-300*HZ)) #define INITIAL_JIFFIES ((unsigned long)(unsigned int) (-300*HZ))
/* /*
* Change timeval to jiffies, trying to avoid the * Change timeval to jiffies, trying to avoid the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment