]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/linux-3.2-codel/0004-net-codel-Add-missing-include-linux-prefetch.h.patch
codel: Enable fq_codel on all devices.
[people/teissler/ipfire-2.x.git] / src / patches / linux-3.2-codel / 0004-net-codel-Add-missing-include-linux-prefetch.h.patch
CommitLineData
97bb1c57
AF
1From: Geert Uytterhoeven <geert@linux-m68k.org>
2Date: Mon, 14 May 2012 09:47:05 +0000
3Subject: [PATCH 4/7] net/codel: Add missing #include <linux/prefetch.h>
4MIME-Version: 1.0
5Content-Type: text/plain; charset=UTF-8
6Content-Transfer-Encoding: 8bit
7
8commit ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 upstream.
9
10m68k allmodconfig:
11
12net/sched/sch_codel.c: In function ‘dequeue’:
13net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
14make[1]: *** [net/sched/sch_codel.o] Error 1
15
16Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
17Acked-by: Eric Dumazet <edumazet@google.com>
18Signed-off-by: David S. Miller <davem@davemloft.net>
19---
20 net/sched/sch_codel.c | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/net/sched/sch_codel.c b/net/sched/sch_codel.c
24index b4a1a81..213ef60 100644
25--- a/net/sched/sch_codel.c
26+++ b/net/sched/sch_codel.c
27@@ -46,6 +46,7 @@
28 #include <linux/kernel.h>
29 #include <linux/errno.h>
30 #include <linux/skbuff.h>
31+#include <linux/prefetch.h>
32 #include <net/pkt_sched.h>
33 #include <net/codel.h>
34
35--
361.7.10
37