From: "Kevin P. Fleming" <kpfleming@cox.net>
To: LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] include/linux/sysctl.h needs linux/compiler.h
Date: Sat, 31 May 2003 09:18:44 -0700 [thread overview]
Message-ID: <3ED8D5E4.6030107@cox.net> (raw)
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;
next reply other threads:[~2003-05-31 16:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 16:18 Kevin P. Fleming [this message]
2003-05-31 19:32 ` [PATCH] include/linux/sysctl.h needs linux/compiler.h 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
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=3ED8D5E4.6030107@cox.net \
--to=kpfleming@cox.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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