1. 09 Jan, 2014 1 commit
  2. 13 Apr, 2010 1 commit
  3. 07 Nov, 2009 1 commit
    • Remy Bohmer's avatar
      ARM: Use Linux version for unaligned access code · 25793f76
      Remy Bohmer authored
      The asm-arm/unaligned.h includes linux/unaligned/access_ok.h
      This file is unsafe to be used on ARM, since it does an unaligned memory
      accesses which fails on ARM.
      
      Lookin at Linux the basic difference seems to be the header
      "include/asm-arm/unaligned.h". The Linux version of "unaligned.h"
      does *not* include "access_ok.h" at all. It includes "le_byteshift.h"
      and "be_byteshift.h" instead.
      Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      --
       include/asm-arm/unaligned.h            |    3 -
       include/linux/unaligned/be_byteshift.h |   70 +++++++++++++++++++++++++++++++++
       include/linux/unaligned/le_byteshift.h |   70 +++++++++++++++++++++++++++++++++
       3 files changed, 142 insertions(+), 1 deletion(-)
       create mode 100644 include/linux/unaligned/be_byteshift.h
       create mode 100644 include/linux/unaligned/le_byteshift.h
      25793f76
  4. 20 Jul, 2009 1 commit
  5. 19 Jul, 2009 1 commit