From: Will Deacon Date: Tue, 17 Dec 2013 18:50:11 +0000 (+0100) Subject: ARM: 7927/1: dcache: select DCACHE_WORD_ACCESS for big-endian CPUs X-Git-Tag: v3.14-rc1~116^2~1^5~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb601185da996656e0bcef46a89a5a2d9619b071;p=pandora-kernel.git ARM: 7927/1: dcache: select DCACHE_WORD_ACCESS for big-endian CPUs With commit 11ec50caedb5 ("word-at-a-time: provide generic big-endian zero_bytemask implementation"), the asm-generic word-at-a-time code now provides a zero_bytemask implementation, allowing us to make use of DCACHE_WORD_ACCESS on big-endian CPUs, providing our load_unaligned_zeropad function is endianness-clean. This patch reworks the load_unaligned_zeropad fixup code to work for both big- and little-endian CPUs, then removes the !CPU_BIG_ENDIAN check when selecting DCACHE_WORD_ACCESS. Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed