diff options
author | Tom Herbert <therbert@google.com> | 2012-03-11 19:59:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-11 19:59:43 -0700 |
commit | 930c514f6960454a5082f7e533bd2867df6fe9cb (patch) | |
tree | 91da120b6954c142063c83602631e52376e12a71 /lib | |
parent | dfd25ffffc132c00070eed64200e8950da5d7e9d (diff) | |
download | lwn-930c514f6960454a5082f7e533bd2867df6fe9cb.tar.gz lwn-930c514f6960454a5082f7e533bd2867df6fe9cb.zip |
dql: Fix undefined jiffies
In some configurations, jiffies may be undefined in
lib/dynamic_queue_limits.c. Adding include of jiffies.h to avoid
this.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dynamic_queue_limits.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dynamic_queue_limits.c b/lib/dynamic_queue_limits.c index 3d1bdcdd7db4..6ab4587d052b 100644 --- a/lib/dynamic_queue_limits.c +++ b/lib/dynamic_queue_limits.c @@ -7,6 +7,7 @@ #include <linux/types.h> #include <linux/ctype.h> #include <linux/kernel.h> +#include <linux/jiffies.h> #include <linux/dynamic_queue_limits.h> #define POSDIFF(A, B) ((A) > (B) ? (A) - (B) : 0) |