From: Wolfgang Denk Date: Mon, 23 Nov 2009 23:46:38 +0100 Subject: [U-Boot] [PATCH] Make the generic unaligned access code safe for unaligned access In-Reply-To: <1256764421-27799-4-git-send-email-linux@bohmer.net> References: <1256764421-27799-1-git-send-email-linux@bohmer.net> <1256764421-27799-2-git-send-email-linux@bohmer.net> <1256764421-27799-3-git-send-email-linux@bohmer.net> <1256764421-27799-4-git-send-email-linux@bohmer.net> Message-ID: <20091123224638.D32AF3F6D6@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Remy Bohmer, In message <1256764421-27799-4-git-send-email-linux@bohmer.net> you wrote: > The current generic code for handling unaligned access assumes that > the processor can properly handle unaligned accesses itself. > This is at least not the case for ARM, which results in runtime > errors. > > Rewrite it such that it works for ARM as well. > > Signed-off-by: Remy Bohmer > --- > include/linux/unaligned/access_ok.h | 48 ++++++++++++++++++++++++---------- > 1 files changed, 34 insertions(+), 14 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Humans do claim a great deal for that particular emotion (love). -- Spock, "The Lights of Zetar", stardate 5725.6