ARM: davinci: fix cache flush build error
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Aug 2011 15:48:38 +0000 (17:48 +0200)
committerSekhar Nori <nsekhar@ti.com>
Wed, 7 Sep 2011 11:52:12 +0000 (17:22 +0530)
commit897a6a1a14837d6d582bfd1fd7aba00be44b6469
tree7130d3bfc68fa0bff0955ca4d7f6a9fa40a64a41
parentc08748005d56084a205f5c5db5f211b07a97a9be
ARM: davinci: fix cache flush build error

The TNET variant of DaVinci compiles some code that it shares
with other DaVinci variants, however it has a V6 CPU rather than
an ARM926T, thus the hardcoded call to arm926_flush_kern_cache_all()
in sleep.S will obviously fail, and we need to build with the
v6_flush_kern_cache_all() call instead. This was triggered by
manually altering the DaVinci config to build the TNET version.

Cc: Dave Martin <dave.martin@linaro.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Cc: stable@kernel.org
arch/arm/mach-davinci/sleep.S