diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-07 19:16:52 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-07 19:16:52 -0700 |
| commit | 3909ac8024931a6714f072ff4be6ded5c0ff6e71 (patch) | |
| tree | 9267182da6cac721c3dff373604d6a93d11d7c28 /include | |
| parent | ab780cf981db4cfc0d2293993f0c4714cf12b58b (diff) | |
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".
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index 7f5be084e342..4d7238025fe9 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -31,7 +31,7 @@ struct timezone { * 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)(unsigned int) (-300*HZ)) /* * Change timeval to jiffies, trying to avoid the |
