aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/unaligned.h
diff options
context:
space:
mode:
authorLuis Alves <ljalvs@gmail.com>2012-05-13 12:39:42 -0400
committerGreg Ungerer <gerg@uclinux.org>2012-05-20 07:23:04 -0400
commitb2fb49bf2af013fa84d751ec02b0610571d67896 (patch)
tree3ad87fe1518b31e9b68c15a99f59d2dc395b7081 /arch/m68k/include/asm/unaligned.h
parent5641686c234ffe5fbcb1728ac45016761b318839 (diff)
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>
Diffstat (limited to 'arch/m68k/include/asm/unaligned.h')
-rw-r--r--arch/m68k/include/asm/unaligned.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/unaligned.h b/arch/m68k/include/asm/unaligned.h
index 019caa740c21..f4043ae63db1 100644
--- a/arch/m68k/include/asm/unaligned.h
+++ b/arch/m68k/include/asm/unaligned.h
@@ -2,7 +2,7 @@
2#define _ASM_M68K_UNALIGNED_H 2#define _ASM_M68K_UNALIGNED_H
3 3
4 4
5#ifdef CONFIG_COLDFIRE 5#if defined(CONFIG_COLDFIRE) || defined(CONFIG_M68000)
6#include <linux/unaligned/be_struct.h> 6#include <linux/unaligned/be_struct.h>
7#include <linux/unaligned/le_byteshift.h> 7#include <linux/unaligned/le_byteshift.h>
8#include <linux/unaligned/generic.h> 8#include <linux/unaligned/generic.h>