summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2012-03-12 03:59:43 +0100
committerDavid S. Miller <davem@davemloft.net>2012-03-12 03:59:43 +0100
commit930c514f6960454a5082f7e533bd2867df6fe9cb (patch)
tree91da120b6954c142063c83602631e52376e12a71 /lib
parenttcp: fix syncookie regression (diff)
downloadlinux-930c514f6960454a5082f7e533bd2867df6fe9cb.tar.xz
linux-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.c1
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)