From: Linus Torvalds <torvalds@linux-foundation.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Harvey Harrison <harvey.harrison@gmail.com>
Subject: Re: powerpc: introduce asm/swab.h
Date: Tue, 6 Jan 2009 21:01:50 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.2.00.0901062056540.3057@localhost.localdomain> (raw)
In-Reply-To: <1231303340.14860.61.camel@pasglop>
On Wed, 7 Jan 2009, Benjamin Herrenschmidt wrote:
>
> Was this tested ? I see no arch maintainer signed-off here, it appears
> to at least break ppc32, and contains hunks that paulus says were
> explicitely nacked (removing of our ld_* macros) etc...
It did no such thing. It just moved the file.
Use
git show -M -B 156ca2bbf6503a02d7d6829886ce381d572de66e
to see how <asm/swab.h> is just the old <asm/byteorder.h> renamed, and
with some stuff moved around. Eg it contains:
-#define __BIG_ENDIAN
-#include <linux/byteorder.h>
because now the <asm/byteorder.h> header file on powerpc will just do
+#include <asm/swab.h>
+#include <linux/byteorder/big_endian.h>
instead of doing that __BIG_ENDIAN define and conditionals that didn't
work with user space.
So it really should be a no-op. And no, I'm not reverting it, because
I guarantee that reverting it won't result in a working build - the broken
<linux/byteorder.h> file no longer exists (and will not be re-instated).
So I'd suggest testing it, and if it really doesn't work, trying to figure
out why. Because a revert won't be helping.
Linus
next prev parent reply other threads:[~2009-01-07 5:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200901070400.n0740Ore002063@hera.kernel.org>
2009-01-07 4:42 ` powerpc: introduce asm/swab.h Benjamin Herrenschmidt
2009-01-07 4:48 ` Harvey Harrison
2009-01-07 4:59 ` Nicolas Pitre
2009-01-07 5:08 ` Linus Torvalds
2009-01-07 5:12 ` Nicolas Pitre
2009-01-07 5:01 ` Linus Torvalds [this message]
2009-01-07 5:08 ` Nicolas Pitre
2009-01-07 5:02 ` Benjamin Herrenschmidt
2009-01-07 5:11 ` Linus Torvalds
2009-01-07 5:19 ` Nicolas Pitre
2009-01-07 5:26 ` Nicolas Pitre
2009-01-07 5:38 ` Linus Torvalds
2009-01-07 5:37 ` Linus Torvalds
2009-01-07 6:02 ` Harvey Harrison
2009-01-07 6:05 ` Benjamin Herrenschmidt
2009-01-07 5:39 ` Steven Rostedt
2009-01-07 5:43 ` Benjamin Herrenschmidt
2009-01-07 8:37 ` Geert Uytterhoeven
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=alpine.LFD.2.00.0901062056540.3057@localhost.localdomain \
--to=torvalds@linux-foundation.org \
--cc=benh@kernel.crashing.org \
--cc=harvey.harrison@gmail.com \
--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 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.