public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] include/linux/sysctl.h needs linux/compiler.h
@ 2003-05-31 16:18 Kevin P. Fleming
  2003-05-31 19:32 ` Christoph Hellwig
  2003-05-31 20:25 ` ismail (cartman) donmez
  0 siblings, 2 replies; 12+ messages in thread
From: Kevin P. Fleming @ 2003-05-31 16:18 UTC (permalink / raw)
  To: LKML, Linus Torvalds

Changes during 2.5.70 added _user tags to various bits in 
include/linux/sysctl.h. __user is defined in linux/compiler.h, which is 
included by linux/kernel.h but only if __KERNEL__ is defined. Compiliing 
uClibc against 2.5.70 fails because __user__ is not defined.

Adding patch below solves the problem (yes, I know, userspace is not 
supposed to use kernel headers...)

--- linux-2.5/include/linux/sysctl.h~	Sat May 31 08:52:49 2003
+++ linux-2.5/include/linux/sysctl.h	Sat May 31 09:04:29 2003
@@ -27,6 +27,7 @@
  #include <linux/kernel.h>
  #include <linux/types.h>
  #include <linux/list.h>
+#include <linux/compiler.h>

  struct file;




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

end of thread, other threads:[~2003-06-02  7:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-31 16:18 [PATCH] include/linux/sysctl.h needs linux/compiler.h Kevin P. Fleming
2003-05-31 19:32 ` Christoph Hellwig
2003-05-31 19:56   ` Kevin P. Fleming
2003-05-31 20:25 ` ismail (cartman) donmez
2003-05-31 20:32   ` Kevin P. Fleming
2003-05-31 20:58     ` ismail (cartman) donmez
2003-05-31 21:08       ` Kevin P. Fleming
2003-05-31 21:16         ` ismail (cartman) donmez
2003-05-31 23:37           ` Kevin P. Fleming
2003-06-01  8:36             ` ismail (cartman) donmez
2003-06-02  5:43               ` Martin Schlemmer
2003-06-02  7:24                 ` ismail (cartman) donmez

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