swconfig: make it compatible with 3.7
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 043-net-codel-Add-missing-include-linux-prefetch.h.patch
1 From 18c12e496ead3306de00a82d0bc73d71b34d7c24 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] 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 commit ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 upstream.
10
11 m68k allmodconfig:
12
13 net/sched/sch_codel.c: In function ‘dequeue’:
14 net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
15 make[1]: *** [net/sched/sch_codel.o] Error 1
16
17 Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
18 Acked-by: Eric Dumazet <edumazet@google.com>
19 Signed-off-by: David S. Miller <davem@davemloft.net>
20 ---
21 net/sched/sch_codel.c | 1 +
22 1 file changed, 1 insertion(+)
23
24 --- a/net/sched/sch_codel.c
25 +++ b/net/sched/sch_codel.c
26 @@ -46,6 +46,7 @@
27 #include <linux/kernel.h>
28 #include <linux/errno.h>
29 #include <linux/skbuff.h>
30 +#include <linux/prefetch.h>
31 #include <net/pkt_sched.h>
32 #include <net/codel.h>
33