UPDATES: add support for cpu alignment, fix makefile, make changes to f/sync
/arch/arm/Kconfig
blob:16a06f11e9ca5e24a25dcdcb68bb6dcc970982ed -> blob:7fe126400c377ef2c8f10f1fb5b7b132da59a65c
--- arch/arm/Kconfig
+++ arch/arm/Kconfig
@@ -1711,6 +1711,16 @@ config ALIGNMENT_TRAP
correct operation of some network protocols. With an IP-only
configuration it is safe to say N, otherwise say Y.
+config ALLOW_CPU_ALIGNMENT
+ bool "Allow CPU-based alignment handling"
+ default y if ARCH_MSM_SCORPION || ARCH_MSM_SCORPIONMP
+ help
+ Advanced ARM processors, such as the Cortex series and ARMv7-based
+ CPUS are capable of performing unaligned accesses for many types of
+ memory accesses. Typically, using a cpu-based alignment fixup is
+ faster than doing such a fixup in software. For best performance
+ on advanced CPUs, say Y here.
+
config UACCESS_WITH_MEMCPY
bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user() (EXPERIMENTAL)"
depends on MMU && EXPERIMENTAL