projects
/
linux-flexiantxendom0-3.2.10.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd25ff
)
dql: Fix undefined jiffies
author
Tom Herbert <therbert@google.com>
Mon, 12 Mar 2012 02:59:43 +0000
(19:59 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/lib/dynamic_queue_limits.c
b/lib/dynamic_queue_limits.c
index
3d1bdcd
..
6ab4587
100644
(file)
--- 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)