043-net-codel-Add-missing-include-linux-prefetch.h.patch 980 B

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