Skip to content
Commit 2058842e authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarJoseph Lo <josephl@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
parent 0259d9eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment