projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
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 3d1bdcdd7db4d217b811c8286cb5aa743674f5f3..6ab4587d052b5994f3be952b732bfc5a613664f9 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)