* [PATCH] net: add missing prefetch.h include
@ 2011-05-22 16:55 Heiko Carstens
2011-05-22 22:15 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2011-05-22 16:55 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton, David Miller; +Cc: linux-kernel, netdev
From: Heiko Carstens <heiko.carstens@de.ibm.com>
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>
---
include/linux/skbuff.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 79aafbb..8276815 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -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! */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: add missing prefetch.h include
2011-05-22 16:55 [PATCH] net: add missing prefetch.h include Heiko Carstens
@ 2011-05-22 22:15 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-05-22 22:15 UTC (permalink / raw)
To: heiko.carstens; +Cc: torvalds, akpm, linux-kernel, netdev
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sun, 22 May 2011 18:55:10 +0200
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> 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>
No, as Linus pointed out, he will just remove these prefetches
in here, they should just be removed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-22 22:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-22 16:55 [PATCH] net: add missing prefetch.h include Heiko Carstens
2011-05-22 22:15 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).