summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress/hotplug.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-04-18 19:05:29 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-04-18 21:08:04 +0200
commit51acdfd1fa38a2bf1003255be9f105c19fbc0176 (patch)
treeb1195cfa0a049e91369ce1de5a524ca239a114b5 /arch/arm/mach-vexpress/hotplug.c
parentARM: tegra: remove tegra specific cpu_disable() (diff)
downloadlinux-51acdfd1fa38a2bf1003255be9f105c19fbc0176.tar.xz
linux-51acdfd1fa38a2bf1003255be9f105c19fbc0176.zip
ARM: smp: flush L1 cache in cpu_die()
Flush the L1 cache for the CPU which is going down in cpu_die() so that we don't end up with all platforms doing this. This ensures that any cache lines we own are pushed out before the cache becomes inaccessible. We may end up subsequently creating some dirty cache lines - for example, with the complete() call, but this update must become visible to other CPUs before __cpu_die() can proceed. Subsequent accesses from the platforms cpu_die() function should _not_ matter. Also place a mb() after the complete() call to ensure that this is visible to other CPUs. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-vexpress/hotplug.c')
0 files changed, 0 insertions, 0 deletions