diff options
author | Sundar Iyer <sundar.iyer@stericsson.com> | 2010-09-15 05:45:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-09-19 07:14:34 -0400 |
commit | 9d704c04ff8ae61b60935d67ce334b18fc70f1b2 (patch) | |
tree | d386810c2e9d3a91660871835657376850868389 /arch/arm/mach-ux500/platsmp.c | |
parent | f0a7a98d1d400e2a5fd9a63ed56d30d30f2864cb (diff) |
ARM: 6391/1: ux500: add CPU hotplug support
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-ux500/platsmp.c')
-rw-r--r-- | arch/arm/mach-ux500/platsmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c index 438ef16aec90..9e4c678de785 100644 --- a/arch/arm/mach-ux500/platsmp.c +++ b/arch/arm/mach-ux500/platsmp.c | |||
@@ -78,6 +78,8 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
78 | __cpuc_flush_dcache_area((void *)&pen_release, sizeof(pen_release)); | 78 | __cpuc_flush_dcache_area((void *)&pen_release, sizeof(pen_release)); |
79 | outer_clean_range(__pa(&pen_release), __pa(&pen_release) + 1); | 79 | outer_clean_range(__pa(&pen_release), __pa(&pen_release) + 1); |
80 | 80 | ||
81 | smp_cross_call(cpumask_of(cpu)); | ||
82 | |||
81 | timeout = jiffies + (1 * HZ); | 83 | timeout = jiffies + (1 * HZ); |
82 | while (time_before(jiffies, timeout)) { | 84 | while (time_before(jiffies, timeout)) { |
83 | if (pen_release == -1) | 85 | if (pen_release == -1) |