]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/patches/linux-3.2-codel/0004-net-codel-Add-missing-include-linux-prefetch.h.patch
Merge remote-tracking branch 'origin/kernel-update' into glibc-update2
[people/teissler/ipfire-2.x.git] / src / patches / linux-3.2-codel / 0004-net-codel-Add-missing-include-linux-prefetch.h.patch
1 From: Geert Uytterhoeven <geert@linux-m68k.org>
2 Date: Mon, 14 May 2012 09:47:05 +0000
3 Subject: [PATCH 4/7] net/codel: Add missing #include <linux/prefetch.h>
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 commit ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 upstream.
9
10 m68k allmodconfig:
11
12 net/sched/sch_codel.c: In function ‘dequeue’:
13 net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
14 make[1]: *** [net/sched/sch_codel.o] Error 1
15
16 Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
17 Acked-by: Eric Dumazet <edumazet@google.com>
18 Signed-off-by: David S. Miller <davem@davemloft.net>
19 ---
20 net/sched/sch_codel.c | 1 +
21 1 file changed, 1 insertion(+)
22
23 diff --git a/net/sched/sch_codel.c b/net/sched/sch_codel.c
24 index 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 --
36 1.7.10
37