aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2012-03-11 19:59:43 -0700
committerDavid S. Miller <davem@davemloft.net>2012-03-11 19:59:43 -0700
commit930c514f6960454a5082f7e533bd2867df6fe9cb (patch)
tree91da120b6954c142063c83602631e52376e12a71 /lib
parentdfd25ffffc132c00070eed64200e8950da5d7e9d (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dynamic_queue_limits.c b/lib/dynamic_queue_limits.c
index 3d1bdcdd7db..6ab4587d052 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)