]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: cache-tauros2: remove ARMv6 code
authorArnd Bergmann <arnd@arndb.de>
Tue, 11 Mar 2014 16:41:33 +0000 (17:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 27 Mar 2014 01:49:24 +0000 (02:49 +0100)
commita553c846ecdfef02644071752cbdc4d0f8007901
tree07d6cde248de0ed50b468fc637b58c13079278e8
parent7b6073cad89a83c1e2b1eba15d7ba9403463a645
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 <arnd@arndb.de>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mm/cache-tauros2.c