diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-23 13:36:26 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-29 14:51:59 (GMT) |
commit | 2058842e6d7833e41be7cc2434465e69bcd51d45 (patch) | |
tree | 2aceb2d7bf06ae0344731f8314e28700cca341bf /arch/arm/mach-tegra/sleep-tegra20.S | |
parent | 0259d9eb30d003af305626db2d8332805696e60d (diff) | |
download | linux-2058842e6d7833e41be7cc2434465e69bcd51d45.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-tegra/sleep-tegra20.S')
-rw-r--r-- | arch/arm/mach-tegra/sleep-tegra20.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/sleep-tegra20.S b/arch/arm/mach-tegra/sleep-tegra20.S index 9f6bfaf..e3f2417 100644 --- a/arch/arm/mach-tegra/sleep-tegra20.S +++ b/arch/arm/mach-tegra/sleep-tegra20.S @@ -197,7 +197,7 @@ ENTRY(tegra20_sleep_cpu_secondary_finish) mov r3, #CPU_RESETTABLE str r3, [r0] - bl cpu_do_idle + bl tegra_cpu_do_idle /* * cpu may be reset while in wfi, which will return through |