projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adaa765
)
[PATCH] h8300 sleep problem
author
Nick Piggin
<nickpiggin@yahoo.com.au>
Tue, 31 May 2005 21:39:28 +0000
(14:39 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 31 May 2005 21:54:17 +0000
(14:54 -0700)
h8300 appears to sleep (halt) when need_resched IS set.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/h8300/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/h8300/kernel/process.c
b/arch/h8300/kernel/process.c
index 134aec1c6d199d259a5207a2c0ea427bc487843a..b5f83e9f04db63eb1013267b65f94a891432e375 100644
(file)
--- a/
arch/h8300/kernel/process.c
+++ b/
arch/h8300/kernel/process.c
@@
-54,7
+54,7
@@
asmlinkage void ret_from_fork(void);
void default_idle(void)
{
while(1) {
- if (need_resched()) {
+ if (
!
need_resched()) {
local_irq_enable();
__asm__("sleep");
local_irq_disable();