diff options
author | Anton Blanchard <anton@samba.org> | 2013-09-22 22:05:12 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 01:48:56 -0400 |
commit | 0b5e6661ac69983a54d9832ac33fd27d733306f8 (patch) | |
tree | b81021e26cc0ca5c60d7432c14221a21a9c38d09 /arch/powerpc/Kconfig | |
parent | d72b08017161ab385d4ae080ea415c9eb7ceef83 (diff) |
powerpc: Don't set HAVE_EFFICIENT_UNALIGNED_ACCESS on little endian builds
POWER7 takes alignment exceptions on some unaligned addresses, so
disable HAVE_EFFICIENT_UNALIGNED_ACCESS. This fixes an early boot
issue in the printk code.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 2c69c43ba68e..c5a868bc7aa4 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -97,7 +97,7 @@ config PPC | |||
97 | select VIRT_TO_BUS if !PPC64 | 97 | select VIRT_TO_BUS if !PPC64 |
98 | select HAVE_IDE | 98 | select HAVE_IDE |
99 | select HAVE_IOREMAP_PROT | 99 | select HAVE_IOREMAP_PROT |
100 | select HAVE_EFFICIENT_UNALIGNED_ACCESS | 100 | select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_LITTLE_ENDIAN |
101 | select HAVE_KPROBES | 101 | select HAVE_KPROBES |
102 | select HAVE_ARCH_KGDB | 102 | select HAVE_ARCH_KGDB |
103 | select HAVE_KRETPROBES | 103 | select HAVE_KRETPROBES |