projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d224d3
)
[PATCH] x86_64: Use msleep in smpboot.c
author
Nishanth Aravamudan
<
[email protected]
>
Fri, 29 Jul 2005 04:15:53 +0000
(21:15 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 29 Jul 2005 04:46:02 +0000
(21:46 -0700)
Replace schedule_timeout() with msleep() to guarantee the task delays as
expected.
Signed-off-by: Nishanth Aravamudan <
[email protected]
>
Signed-off-by: Domen Puncer <
[email protected]
>
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86_64/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/smpboot.c
b/arch/x86_64/kernel/smpboot.c
index 001c2d57248586464da570017e368e188eb4d270..6d23354443c03225cb7248312ab71ef512b75439 100644
(file)
--- a/
arch/x86_64/kernel/smpboot.c
+++ b/
arch/x86_64/kernel/smpboot.c
@@
-1183,8
+1183,7
@@
void __cpu_die(unsigned int cpu)
printk ("CPU %d is now offline\n", cpu);
return;
}
- current->state = TASK_UNINTERRUPTIBLE;
- schedule_timeout(HZ/10);
+ msleep(100);
}
printk(KERN_ERR "CPU %u didn't die...\n", cpu);
}