]> Pileus Git - ~andy/linux/commit
ARM: tegra: call cpu_do_idle from C code
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2013 13:36:26 +0000 (15:36 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 29 Apr 2013 14:51:59 +0000 (16:51 +0200)
commit2058842e6d7833e41be7cc2434465e69bcd51d45
tree2aceb2d7bf06ae0344731f8314e28700cca341bf
parent0259d9eb30d003af305626db2d8332805696e60d
ARM: tegra: call cpu_do_idle from C code

When building a kernel for multiple CPU architecture levels,
cpu_do_idle() is a macro for an indirect function call, which
cannot be called from assembly code as Tegra does.

Adding a trivial C wrapper for this function lets us build
a tegra kernel with ARMv6 support enabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Joseph Lo <josephl@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/sleep-tegra20.S