From: Arnd Bergmann Date: Tue, 11 Mar 2014 16:41:33 +0000 (+0100) Subject: ARM: cache-tauros2: remove ARMv6 code X-Git-Tag: v3.15-rc1~79^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=027f3f96962df3a222c11dace0d1ff266d836371;p=pandora-kernel.git ARM: cache-tauros2: remove ARMv6 code When building a kernel with support for both ARMv6 and ARMv7 but no MMU, the call from tauros2_internal_init to adjust_cr causes a link error. While that could probably be resolved, we don't actually support cache-tauros2 on ARMv6 any more. All PJ4 CPU implementations support both ARMv6 and ARMv7 and we already assume that we are using them only in ARMv7 mode. Removing the ARMv6 code path reduces the code size and avoids the linker error. Signed-off-by: Arnd Bergmann Acked-by: Haojian Zhuang --- Reading git-diff-tree failed