* [PATCH] dql: Fix undefined jiffies
@ 2012-03-12 2:58 Tom Herbert
2012-03-12 3:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Tom Herbert @ 2012-03-12 2:58 UTC (permalink / raw)
To: davem, netdev
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>
---
lib/dynamic_queue_limits.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/dynamic_queue_limits.c b/lib/dynamic_queue_limits.c
index 3d1bdcd..6ab4587 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)
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dql: Fix undefined jiffies
2012-03-12 2:58 [PATCH] dql: Fix undefined jiffies Tom Herbert
@ 2012-03-12 3:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-03-12 3:00 UTC (permalink / raw)
To: therbert; +Cc: netdev
From: Tom Herbert <therbert@google.com>
Date: Sun, 11 Mar 2012 19:58:08 -0700 (PDT)
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-12 3:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 2:58 [PATCH] dql: Fix undefined jiffies Tom Herbert
2012-03-12 3:00 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).