[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120503.022626.788447039512782116.davem@davemloft.net>
Date: Thu, 03 May 2012 02:26:26 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sfr@...b.auug.org.au
Cc: netdev@...r.kernel.org, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, edumazet@...gle.com
Subject: Re: linux-next: build failure after merge of the final tree
(net-next tree related)
From: Stephen Rothwell <sfr@...b.auug.org.au>
Date: Thu, 3 May 2012 16:16:23 +1000
> After merging the final tree, today's linux-next build (sparc32 defconfig)
> failed like this:
>
> net/core/sock.c: In function '__release_sock':
> net/core/sock.c:1703:4: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration]
>
> Caused by commit e4cbb02a1070 ("net: add a prefetch in socket backlog
> processing").
>
> I have reverted that commit for today.
Fixed as follows:
--------------------
net: Add missing linux/prefetch.h include to net/core/sock.c
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: David S. Miller <davem@...emloft.net>
---
net/core/sock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/sock.c b/net/core/sock.c
index 1a88351..b8c818e 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -113,6 +113,7 @@
#include <linux/user_namespace.h>
#include <linux/static_key.h>
#include <linux/memcontrol.h>
+#include <linux/prefetch.h>
#include <asm/uaccess.h>
--
1.7.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists