]> git.baikalelectronics.ru Git - kernel.git/commit
m68knommu: unaligned.h fix for M68000 core
authorLuis Alves <ljalvs@gmail.com>
Sun, 13 May 2012 16:39:42 +0000 (17:39 +0100)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 20 May 2012 11:23:04 +0000 (21:23 +1000)
commit4c47ee4bfcfbc4f98b5fa5f53992f7bb35c00b5e
tree3ad87fe1518b31e9b68c15a99f59d2dc395b7081
parentb92c68af86439b9fe7c9233b1001448cd04b8304
m68knommu: unaligned.h fix for M68000 core

This patch fixes unaligned memory access for the 68000 core based cpu's.

Some time ago, my cpu (68000) was raising address/bus error's when mounting
cifs shares (didn't bother to debug it at the time). After developing the
MMC/SD card driver I was having the same issue when mounting the vfat fs.

I've traced the issue down to the 'unaligned.h' file. (I guess nobody has
ever used unaligned.h back in the 68328 'era'.

Signed-off-by: Luis Alves <ljalvs@gmail.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/include/asm/unaligned.h