OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01a527e
)
[PATCH] ieee1394: fix-up schedule_timeout() usage
author
Nishanth Aravamudan
<nacc@us.ibm.com>
Mon, 7 Nov 2005 09:01:15 +0000
(
01:01
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:57 +0000
(07:53 -0800)
Use schedule_timeout_interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Ben Collins <bcollins@debian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ieee1394/amdtp.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/amdtp.c
b/drivers/ieee1394/amdtp.c
index
e8e2856
..
7589750
100644
(file)
--- a/
drivers/ieee1394/amdtp.c
+++ b/
drivers/ieee1394/amdtp.c
@@
-320,8
+320,7
@@
static void ohci1394_stop_it_ctx(struct ti_ohci *ohci, int ctx, int synchronous)
if ((control & OHCI1394_CONTEXT_ACTIVE) == 0)
break;
- set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout(1);
+ schedule_timeout_interruptible(1);
}
}
}