ARM: tegra: moving the clock gating procedure to tegra_cpu_kill
authorJoseph Lo <josephl@nvidia.com>
Thu, 3 Jan 2013 06:43:00 +0000 (14:43 +0800)
committerStephen Warren <swarren@nvidia.com>
Mon, 28 Jan 2013 17:21:48 +0000 (10:21 -0700)
commitb811943160cf3b040341c50d23440cf6d68ae079
tree62fead24de686ce4f8f12e27846d05fa6aa85089
parent57886616ca7bff844a6427436d0c8faf74653f73
ARM: tegra: moving the clock gating procedure to tegra_cpu_kill

The tegra_cpu_die was be executed by the CPU itslf. So the clock gating
procedure won't be executed after the CPU hardware shutdown code. Moving
the clock gating procedure to tegra_cpu_kill that will be run by another
CPU after the CPU died.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/common.h
arch/arm/mach-tegra/hotplug.c
arch/arm/mach-tegra/platsmp.c