summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/hotplug.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/hotplug.c')
-rw-r--r--arch/arm/mach-tegra/hotplug.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/hotplug.c b/arch/arm/mach-tegra/hotplug.c
index cde2659451ae..88c664f7dfad 100644
--- a/arch/arm/mach-tegra/hotplug.c
+++ b/arch/arm/mach-tegra/hotplug.c
@@ -1,7 +1,7 @@
/*
- * linux/arch/arm/mach-tegra/hotplug.c
+ * arch/arm/mach-tegra/hotplug.c
*
- * Copyright (C) 2010 NVIDIA Corporation
+ * Copyright (C) 2010-2011 NVIDIA Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -12,6 +12,7 @@
#include <linux/smp.h>
#include <asm/cpu_pm.h>
+#include <asm/cacheflush.h>
#include <mach/iomap.h>
@@ -51,7 +52,11 @@ int platform_cpu_kill(unsigned int cpu)
void platform_cpu_die(unsigned int cpu)
{
+ /* Flush the L1 data cache. */
+ flush_cache_all();
+
#ifdef CONFIG_ARCH_TEGRA_2x_SOC
+ /* Place the current CPU in reset. */
tegra2_sleep_reset();
#endif