Skip to content

Commit

Permalink
net: add missing prefetch.h include
Browse files Browse the repository at this point in the history
Fixes build errors on s390 and probably other archs as well:

  In file included from net/ipv4/ip_forward.c:32:0:
  include/net/udp.h: In function 'udp_csum_outgoing':
  include/net/udp.h:141:2: error: implicit declaration of function 'prefetch'

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed May 22, 2011
1 parent 9ce6e0b commit 34ea646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <net/checksum.h>
#include <linux/rcupdate.h>
#include <linux/dmaengine.h>
#include <linux/prefetch.h>
#include <linux/hrtimer.h>

/* Don't change this without changing skb_csum_unnecessary! */
Expand Down

0 comments on commit 34ea646

Please sign in to comment.