dql: Fix undefined jiffies
authorTom Herbert <therbert@google.com>
Mon, 12 Mar 2012 02:59:43 +0000 (19:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2012 02:59:43 +0000 (19:59 -0700)
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>
lib/dynamic_queue_limits.c

index 3d1bdcdd7db4d217b811c8286cb5aa743674f5f3..6ab4587d052b5994f3be952b732bfc5a613664f9 100644 (file)
@@ -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)