Kaynağa Gözat

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>
Tom Herbert 13 yıl önce
ebeveyn
işleme
930c514f69
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      lib/dynamic_queue_limits.c

+ 1 - 0
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)