[U-Boot] [PATCH] Make the generic unaligned access code safe for unaligned access
Wolfgang Denk
wd at denx.de
Mon Nov 23 23:46:38 CET 2009
Dear Remy Bohmer,
In message <1256764421-27799-4-git-send-email-linux at 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 <linux at bohmer.net>
> ---
> 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
More information about the U-Boot
mailing list