summaryrefslogtreecommitdiff
path: root/include/asm-ppc/fsl_pci.h
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2009-10-29 12:29:37 +0100
committerTom Rix <Tom.Rix@windriver.com>2009-11-07 15:56:30 -0600
commit25793f76bf9a7be59c9415ef0f78d034e8d53dae (patch)
tree4063b6e96fdc73e0f05eafd04c3f6c020c9044e2 /include/asm-ppc/fsl_pci.h
parentb91b8f74fe9ded18344c3d03080a4abc07254502 (diff)
downloadu-boot-imx-25793f76bf9a7be59c9415ef0f78d034e8d53dae.zip
u-boot-imx-25793f76bf9a7be59c9415ef0f78d034e8d53dae.tar.gz
u-boot-imx-25793f76bf9a7be59c9415ef0f78d034e8d53dae.tar.bz2
ARM: Use Linux version for unaligned access code
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: Remy Bohmer <linux@bohmer.net> Signed-off-by: Stefan 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
Diffstat (limited to 'include/asm-ppc/fsl_pci.h')
0 files changed, 0 insertions, 0 deletions