summaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2013-08-19 21:36:12 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-08-30 19:34:42 -0700
commit022d870691ba8289a220f68180be4f53294d4a6d (patch)
tree3c8b2b478689312339c3bb99d556324a4eae46b0 /arch/arm/mach-spear
parentb684aaa82c8a7faab7063d62728173130b61605e (diff)
Revert "ARM: cpu hotplug: remove majority of cache flushing from platforms"
This reverts commit bca7a5a04933700a8bde4ea5798119607a8b0436. Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'arch/arm/mach-spear')
-rw-r--r--arch/arm/mach-spear/hotplug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear/hotplug.c b/arch/arm/mach-spear/hotplug.c
index d97749c642ce..a7d2dd11a4f2 100644
--- a/arch/arm/mach-spear/hotplug.c
+++ b/arch/arm/mach-spear/hotplug.c
@@ -13,6 +13,7 @@
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/smp.h>
+#include <asm/cacheflush.h>
#include <asm/cp15.h>
#include <asm/smp_plat.h>
@@ -20,6 +21,7 @@ static inline void cpu_enter_lowpower(void)
{
unsigned int v;
+ flush_cache_all();
asm volatile(
" mcr p15, 0, %1, c7, c5, 0\n"
" dsb\n"