043-net-codel-Add-missing-include-linux-prefetch.h.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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. commit ce5b4b977127ee20c3f9c3fd3637cd3796f649f5 upstream.
  9. m68k allmodconfig:
  10. net/sched/sch_codel.c: In function ‘dequeue’:
  11. net/sched/sch_codel.c:70: error: implicit declaration of function ‘prefetch’
  12. make[1]: *** [net/sched/sch_codel.o] Error 1
  13. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
  14. Acked-by: Eric Dumazet <edumazet@google.com>
  15. Signed-off-by: David S. Miller <davem@davemloft.net>
  16. ---
  17. net/sched/sch_codel.c | 1 +
  18. 1 file changed, 1 insertion(+)
  19. --- a/net/sched/sch_codel.c
  20. +++ b/net/sched/sch_codel.c
  21. @@ -46,6 +46,7 @@
  22. #include <linux/kernel.h>
  23. #include <linux/errno.h>
  24. #include <linux/skbuff.h>
  25. +#include <linux/prefetch.h>
  26. #include <net/pkt_sched.h>
  27. #include <net/codel.h>