Commit 805a5a23 authored by Mohit P. Tahiliani's avatar Mohit P. Tahiliani Committed by David S. Miller

pie: use U64_MAX to denote (2^64 - 1)

Use the U64_MAX macro to denote the constant (2^64 - 1).
Signed-off-by: default avatarMohit P. Tahiliani <tahiliani@nitk.edu.in>
Signed-off-by: default avatarLeslie Monis <lesliemonis@gmail.com>
Signed-off-by: default avatarGautam Ramakrishnan <gautamramk@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84bf557f
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
#define QUEUE_THRESHOLD 16384 #define QUEUE_THRESHOLD 16384
#define DQCOUNT_INVALID -1 #define DQCOUNT_INVALID -1
#define DTIME_INVALID 0xffffffffffffffff #define DTIME_INVALID U64_MAX
#define MAX_PROB 0xffffffffffffffff #define MAX_PROB U64_MAX
#define PIE_SCALE 8 #define PIE_SCALE 8
/* parameters used */ /* parameters used */
......
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