Root/target/linux/generic/patches-3.3/043-net-codel-Add-missing-include-linux-prefetch.h.patch

1From 18c12e496ead3306de00a82d0bc73d71b34d7c24 Mon Sep 17 00:00:00 2001
2From: Geert Uytterhoeven <geert@linux-m68k.org>
3Date: Mon, 14 May 2012 09:47:05 +0000
4Subject: [PATCH] net/codel: Add missing #include <linux/prefetch.h>
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9commit ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 upstream.
10
11m68k allmodconfig:
12
13net/sched/sch_codel.c: In function ‘dequeue’:
14net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
15make[1]: *** [net/sched/sch_codel.o] Error 1
16
17Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
18Acked-by: Eric Dumazet <edumazet@google.com>
19Signed-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 
34

Archive Download this file



interactive