From: "Dan Horák" <dan@danny.cz>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] prefetch() not declared in net/ipv4/route.c on s390x
Date: Thu, 22 Dec 2011 11:50:56 +0100 [thread overview]
Message-ID: <1324551056-28486-1-git-send-email-dan@danny.cz> (raw)
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
next reply other threads:[~2011-12-22 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 10:50 Dan Horák [this message]
2011-12-22 11:05 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1324551056-28486-1-git-send-email-dan@danny.cz \
--to=dan@danny.cz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®