diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2011-09-08 13:15:22 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2012-02-22 18:36:40 +0000 |
commit | 3eb5562f209974265e89f6fb5e47c618d1b46ee1 (patch) | |
tree | 9a1cdd0caac33b1edb5028481280f39a53c448e3 /arch/arm/mach-tegra/common.h | |
parent | 030c9249982d42c09c31ac27f0f71d2c746f41fd (diff) |
ARM: SoC: convert Tegra to SoC descriptor
Convert Tegra to use the SoC descriptor to provide its SMP
and CPU hotplug operations.
Tested on Harmony.
Cc: Colin Cross <ccross@android.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-tegra/common.h')
-rw-r--r-- | arch/arm/mach-tegra/common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/common.h b/arch/arm/mach-tegra/common.h new file mode 100644 index 000000000000..e4c214d4a575 --- /dev/null +++ b/arch/arm/mach-tegra/common.h @@ -0,0 +1,11 @@ +struct arm_soc_desc; +extern struct arm_soc_desc tegra_soc_desc; + +struct arm_soc_smp_init_ops; +struct arm_soc_smp_ops; +extern struct arm_soc_smp_init_ops tegra_soc_smp_init_ops; +extern struct arm_soc_smp_ops tegra_soc_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); |