Subject: linux-next: build failure lin Linus' tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 10 Mar 2011 11:25:43 +1100

Hi Linus,

After merging the spi-current tree, today's linux-next build (x86_64
allmodconfig) failed like this:

include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported

Caused by commit dfef6dcd35cb ("unf*ck proc_sysctl ->d_compare()").

I applied this patch for today:

From: Stephen Rothwell <[email-masked]>
Date: Thu, 10 Mar 2011 11:14:17 +1100
Subject: [PATCH] sysctl: the include of rcupdate.h is only needed in the kernel

Fixes this built error:

include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported

Signed-off-by: Stephen Rothwell <[email-masked]>
---
 include/linux/sysctl.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index bb7c2b0..11684d9 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -25,7 +25,6 @@
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/compiler.h>
-#include <linux/rcupdate.h>
 
 struct completion;
 
@@ -931,6 +930,7 @@ enum
 
 #ifdef __KERNEL__
 #include <linux/list.h>
+#include <linux/rcupdate.h>
 
 /* For the /proc/sys support */
 struct ctl_table;
-- 
1.7.4.1

-- 
Cheers,
Stephen Rothwell                    [email-masked]
http://www.canb.auug.org.au/~sfr/