projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66db2e6
)
[IA64] Remove redundant cpu_clear() in __cpu_disable path
author
Alex Chiang
<achiang@hp.com>
Mon, 9 Feb 2009 18:16:57 +0000
(11:16 -0700)
committer
Tony Luck
<aegl@agluck-desktop.(none)>
Thu, 19 Feb 2009 19:32:50 +0000
(11:32 -0800)
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)>
arch/ia64/kernel/smpboot.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/kernel/smpboot.c
b/arch/ia64/kernel/smpboot.c
index 2ec5bbff461e5ebfd804d2dbb953740ef9c405e8..52290547c85ba89edd5ba3fa1a98985891803361 100644
(file)
--- 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);