From: GOTO Masanori <gotom@debian.or.jp>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>
Cc: linux-kernel@vger.kernel.org, gotom@debian.or.jp
Subject: [PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h
Date: Mon, 09 Aug 2004 14:16:25 +0900 [thread overview]
Message-ID: <81smaw6gd2.wl@omega.webmasters.gr.jp> (raw)
This patch removes unneeded #ifdef __KERNEL__ from ppc unaligned.h.
There's no reason to enclose __KERNEL__, similar to other
architectures. It also fixes the compilation failure building
userland helper application reiserfsprogs on ppc which includes
asm/unaligned.h.
Signed-off-by: GOTO Masanori <gotom@debian.or.jp>
--- include/asm-ppc/unaligned.h 2003-12-15 22:57:40.000000000 +0900
+++ include/asm-ppc/unaligned.h.new 2004-08-09 12:17:16.000000000 +0900
@@ -1,4 +1,3 @@
-#ifdef __KERNEL__
#ifndef __PPC_UNALIGNED_H
#define __PPC_UNALIGNED_H
@@ -15,4 +14,3 @@
#define put_unaligned(val, ptr) ((void)( *(ptr) = (val) ))
#endif
-#endif /* __KERNEL__ */
next reply other threads:[~2004-08-09 5:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-09 5:16 GOTO Masanori [this message]
2004-08-09 8:07 ` [PATCH] Remove unneeded #ifdef kernel from ppc unaligned.h Benjamin Herrenschmidt
2004-08-09 8:16 ` GOTO Masanori
2004-08-09 22:37 ` Benjamin Herrenschmidt
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=81smaw6gd2.wl@omega.webmasters.gr.jp \
--to=gotom@debian.or.jp \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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