diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2013-08-19 21:36:12 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-08-30 19:34:42 -0700 |
commit | 022d870691ba8289a220f68180be4f53294d4a6d (patch) | |
tree | 3c8b2b478689312339c3bb99d556324a4eae46b0 /arch/arm/mach-prima2 | |
parent | b684aaa82c8a7faab7063d62728173130b61605e (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-prima2')
-rw-r--r-- | arch/arm/mach-prima2/hotplug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/hotplug.c b/arch/arm/mach-prima2/hotplug.c index 0ab2f8bae28e..f4b17cbababd 100644 --- a/arch/arm/mach-prima2/hotplug.c +++ b/arch/arm/mach-prima2/hotplug.c @@ -10,10 +10,13 @@ #include <linux/errno.h> #include <linux/smp.h> +#include <asm/cacheflush.h> #include <asm/smp_plat.h> static inline void platform_do_lowpower(unsigned int cpu) { + flush_cache_all(); + /* we put the platform to just WFI */ for (;;) { __asm__ __volatile__("dsb\n\t" "wfi\n\t" |