diff options
author | Alex Chiang <achiang@hp.com> | 2009-02-09 19:16:57 +0100 |
---|---|---|
committer | Tony Luck <aegl@agluck-desktop.(none)> | 2009-02-19 20:32:50 +0100 |
commit | c0acdea21437eff134cc3486bdc52907d9086af1 (patch) | |
tree | 08ad15f5c5acc26e2420cc6f46afceb487a9fa0b /arch/ia64/kernel/smpboot.c | |
parent | [IA64] Revert "prevent ia64 from invoking irq handlers on offline CPUs" (diff) | |
download | linux-c0acdea21437eff134cc3486bdc52907d9086af1.tar.xz linux-c0acdea21437eff134cc3486bdc52907d9086af1.zip |
[IA64] Remove redundant cpu_clear() in __cpu_disable path
The second call to cpu_clear() is redundant, as we've already removed
the CPU from cpu_online_map before calling migrate_platform_irqs().
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Tony Luck <aegl@agluck-desktop.(none)>
Diffstat (limited to '')
-rw-r--r-- | arch/ia64/kernel/smpboot.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index 2ec5bbff461e..52290547c85b 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c @@ -740,11 +740,10 @@ int __cpu_disable(void) if (migrate_platform_irqs(cpu)) { cpu_set(cpu, cpu_online_map); - return (-EBUSY); + return -EBUSY; } remove_siblinginfo(cpu); - cpu_clear(cpu, cpu_online_map); fixup_irqs(); local_flush_tlb_all(); cpu_clear(cpu, cpu_callin_map); |