summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/common.h
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2013-01-03 10:43:00 +0400
committerStephen Warren <swarren@nvidia.com>2013-01-28 21:21:48 +0400
commitb811943160cf3b040341c50d23440cf6d68ae079 (patch)
tree62fead24de686ce4f8f12e27846d05fa6aa85089 /arch/arm/mach-tegra/common.h
parent57886616ca7bff844a6427436d0c8faf74653f73 (diff)
downloadlinux-b811943160cf3b040341c50d23440cf6d68ae079.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-tegra/common.h')
-rw-r--r--arch/arm/mach-tegra/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.h b/arch/arm/mach-tegra/common.h
index 02f71b4f1e51..32f8eb3fe344 100644
--- a/arch/arm/mach-tegra/common.h
+++ b/arch/arm/mach-tegra/common.h
@@ -1,4 +1,5 @@
extern struct smp_operations tegra_smp_ops;
+extern int tegra_cpu_kill(unsigned int cpu);
extern void tegra_cpu_die(unsigned int cpu);
extern int tegra_cpu_disable(unsigned int cpu);