[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.2.00.1003201132500.31128@xanadu.home>
Date: Sat, 20 Mar 2010 11:37:24 -0400 (EDT)
From: Nicolas Pitre <nico@...xnic.net>
To: Mikael Pettersson <mikpe@...uu.se>
Cc: David Woodhouse <dwmw2@...radead.org>,
Paulius Zaleckas <paulius.zaleckas@...il.com>, rth@...ddle.net,
lkml <linux-kernel@...r.kernel.org>,
linux-mtd@...ts.infradead.org, u.kleine-koenig@...gutronix.de,
simon.kagstrom@...insight.net,
Andrew Morton <akpm@...ux-foundation.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] MTD: Fix Orion NAND driver compilation with ARM OABI
On Sat, 20 Mar 2010, Mikael Pettersson wrote:
> I missed the start of this thread, but looking at orion_nand.c I fail to
> see why you'd need to mess with inline asm for reading a sequence of u64
> values from an I/O location to an array.
The reason for doing so with inline asm in the first place was not
discussed in this thread.
> Rewriting that to proper C generates a nice ldrd;strd loop with my gcc-4.4.3.
Sure, GCC version 4.4.3 does the right thing. Not all of them do.
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists