diff options
author | Frode Isaksen <frode.isaksen@gmail.com> | 2006-06-25 14:49:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 19:01:22 +0200 |
commit | 04a3446c90137a473837288b04b517b19dc67a0d (patch) | |
tree | 874f1681da03441b021f81446e72ace451b0cb09 /kernel/softlockup.c | |
parent | [PATCH] kthread: convert stop_machine into a kthread (diff) | |
download | linux-04a3446c90137a473837288b04b517b19dc67a0d.tar.xz linux-04a3446c90137a473837288b04b517b19dc67a0d.zip |
[PATCH] fs: sys_poll with timeout -1 bug fix
If you do a poll() call with timeout -1, the wait will be a big number
(depending on HZ) instead of infinite wait, since -1 is passed to the
msecs_to_jiffies function.
Signed-off-by: Frode Isaksen <frode.isaksen@gmail.com>
Acked-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/softlockup.c')
0 files changed, 0 insertions, 0 deletions