All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, Joe Perches <joe@perches.com>
Subject: [PATCH] x86: Fix non-kernel use of include/linux/types.h
Date: Fri, 25 Apr 2008 01:14:38 +1000	[thread overview]
Message-ID: <200804250114.38971.rusty@rustcorp.com.au> (raw)

In file included from ../../include/linux/if_tun.h:21,
                 from lguest.c:30:
../../include/linux/types.h:203: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’

This reversion was created by e40c0fe6b0b5dd16aec3c0dad311d36b19d78fd9
'x86: cleanup duplicate includes' which removed the !__KERNEL__ case from
asm-x86/posix_types.h.

CC: Joe Perches <joe@perches.com>
---
 include/asm-x86/posix_types.h |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff -r c06e2499a606 include/asm-x86/posix_types.h
--- a/include/asm-x86/posix_types.h	Tue Apr 22 07:59:24 2008 +1000
+++ b/include/asm-x86/posix_types.h	Tue Apr 22 08:59:18 2008 +1000
@@ -1,7 +1,5 @@
-#ifdef __KERNEL__
-# if defined(CONFIG_X86_32) || defined(__i386__)
-#  include "posix_types_32.h"
-# else
-#  include "posix_types_64.h"
-# endif
+#if defined(CONFIG_X86_32) || defined(__i386__)
+# include "posix_types_32.h"
+#else
+# include "posix_types_64.h"
 #endif

             reply	other threads:[~2008-04-24 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-24 15:14 Rusty Russell [this message]
2008-04-24 16:01 ` [PATCH] x86: Fix non-kernel use of include/linux/types.h Adrian Bunk
2008-04-24 19:20   ` Rusty Russell

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=200804250114.38971.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.