mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] prefetch() not declared in net/ipv4/route.c on s390x
@ 2011-12-22 10:50 Dan Horák
  2011-12-22 11:05 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Horák @ 2011-12-22 10:50 UTC (permalink / raw)
  To: linux-kernel

The recent commit (9f28a2fc0bd77511f649c0a788c7bf9a5fd04edb) to route.c
breaks build on s390x because it leaves prefetch() undeclared.

net/ipv4/route.c: In function 'rt_check_expire':
net/ipv4/route.c:874:4: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [net/ipv4/route.o] Error 1

Signed-off-by: Dan Horák <dan@danny.cz>
---
 net/ipv4/route.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 252c512..85cc053 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -91,6 +91,7 @@
 #include <linux/rcupdate.h>
 #include <linux/times.h>
 #include <linux/slab.h>
+#include <linux/prefetch.h>
 #include <net/dst.h>
 #include <net/net_namespace.h>
 #include <net/protocol.h>
-- 
1.7.4.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] prefetch() not declared in net/ipv4/route.c on s390x
  2011-12-22 10:50 [PATCH] prefetch() not declared in net/ipv4/route.c on s390x Dan Horák
@ 2011-12-22 11:05 ` Eric Dumazet
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Dumazet @ 2011-12-22 11:05 UTC (permalink / raw)
  To: Dan Horák; +Cc: linux-kernel

Le jeudi 22 décembre 2011 à 11:50 +0100, Dan Horák a écrit :
> The recent commit (9f28a2fc0bd77511f649c0a788c7bf9a5fd04edb) to route.c
> breaks build on s390x because it leaves prefetch() undeclared.

Yes, Stephen posted a patch few hours ago.

Thanks



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-22 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22 10:50 [PATCH] prefetch() not declared in net/ipv4/route.c on s390x Dan Horák
2011-12-22 11:05 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®