Skip to content

Commit 34ea646

Browse files
heicarsttorvalds
authored andcommitted
net: add missing prefetch.h include
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9ce6e0b commit 34ea646

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/skbuff.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <net/checksum.h>
2929
#include <linux/rcupdate.h>
3030
#include <linux/dmaengine.h>
31+
#include <linux/prefetch.h>
3132
#include <linux/hrtimer.h>
3233

3334
/* Don't change this without changing skb_csum_unnecessary! */

0 commit comments

Comments
 (0)