From: Olaf Hering <olaf@aepfle.de>
To: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: [PATCH] hide kernel only code in linux/jbd.h
Date: Fri, 25 Jan 2008 19:03:49 +0100 [thread overview]
Message-ID: <20080125180349.GA30059@aepfle.de> (raw)
In-Reply-To: <20080125180215.GA30039@aepfle.de>
Move a few kernel only stuff into __KERNEL__
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
include/linux/jbd.h | 2 --
1 file changed, 2 deletions(-)
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
@@ -33,7 +33,6 @@
#include <linux/lockdep.h>
#include <asm/semaphore.h>
-#endif
#define journal_oom_retry 1
@@ -84,7 +83,6 @@ static inline void jbd_free(void *ptr, s
#define JFS_MIN_JOURNAL_BLOCKS 1024
-#ifdef __KERNEL__
/**
* typedef handle_t - The handle_t type represents a single atomic update being performed by some process.
next prev parent reply other threads:[~2008-01-25 18:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-25 18:02 [PATCH] unifdef linux/vt.h Olaf Hering
2008-01-25 18:03 ` Olaf Hering [this message]
2008-01-26 20:20 ` Christoph Hellwig
2008-01-27 11:52 ` Olaf Hering
2008-02-08 17:38 ` Olaf Hering
2008-02-08 21:29 ` Andrew Morton
2008-02-10 9:54 ` Olaf Hering
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=20080125180349.GA30059@aepfle.de \
--to=olaf@aepfle.de \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/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