OSDN Git Service

ARM: davinci: fix cache flush build error
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Aug 2011 15:48:38 +0000 (17:48 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:40:13 +0000 (11:40 -0700)
commit766357153d2e17eff9bf45ed66bff015472c1159
tree9929ec382b10c537c21f9def0c5bc25770a3dac6
parent75a9498b739fc1512e247174e398089d9ca28617
ARM: davinci: fix cache flush build error

commit 897a6a1a14837d6d582bfd1fd7aba00be44b6469 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-davinci/sleep.S