kernel: add codel and fq_codel to generic 3.3 patch set (based on patch by Dave Täht)
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 043-net-codel-Add-missing-include-linux-prefetch.h.patch
1 From ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 Mon Sep 17 00:00:00 2001
2 From: Geert Uytterhoeven <geert@linux-m68k.org>
3 Date: Mon, 14 May 2012 09:47:05 +0000
4 Subject: [PATCH 44/50] net/codel: Add missing #include <linux/prefetch.h>
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 m68k allmodconfig:
10
11 net/sched/sch_codel.c: In function ‘dequeue’:
12 net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
13 make[1]: *** [net/sched/sch_codel.o] Error 1
14
15 Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
16 Acked-by: Eric Dumazet <edumazet@google.com>
17 Signed-off-by: David S. Miller <davem@davemloft.net>
18 ---
19 net/sched/sch_codel.c | 1 +
20 1 file changed, 1 insertion(+)
21
22 --- a/net/sched/sch_codel.c
23 +++ b/net/sched/sch_codel.c
24 @@ -46,6 +46,7 @@
25 #include <linux/kernel.h>
26 #include <linux/errno.h>
27 #include <linux/skbuff.h>
28 +#include <linux/prefetch.h>
29 #include <net/pkt_sched.h>
30 #include <net/codel.h>
31