arm64: kernel: add CPU idle call
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 17 Jul 2013 09:12:24 +0000 (10:12 +0100)
committerAlex Shi <alex.shi@linaro.org>
Mon, 10 Mar 2014 05:38:36 +0000 (13:38 +0800)
commit9bbf6e3e9c2a9c6eef7892c03cd9d56562be9148
tree1ad0ff683b2c30f9261309ab7e182a90aa7a7222
parentb5db5222b5f09e594e50811fe6c7c5446c1f1c74
arm64: kernel: add CPU idle call

When CPU idle is enabled, the architectural idle call should go through
the idle subsystem to allow CPUs to enter idle states defined
by the platform CPU idle back-end operations.

This patch, mirroring other archs behaviour, adds the CPU idle call to the
architectural arch_cpu_idle implementation for arm64.

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/kernel/process.c