diff options
| author | 2008-06-25 12:30:10 +0200 | |
|---|---|---|
| committer | 2008-06-25 12:30:10 +0200 | |
| commit | 28f73e51d0f64a5b896ad816ab8df6f3bcec5810 (patch) | |
| tree | 8c51ad5ff74d6ef5d1d68121c9f9aadce836736e /fs/select.c | |
| parent | x86: use cpu_khz for loops_per_jiffy calculation, cleanup (diff) | |
| parent | Linux 2.6.26-rc8 (diff) | |
| download | linux-dev-28f73e51d0f64a5b896ad816ab8df6f3bcec5810.tar.xz linux-dev-28f73e51d0f64a5b896ad816ab8df6f3bcec5810.zip | |
Merge branch 'linus' into x86/delay
Conflicts:
arch/x86/kernel/tsc_32.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/select.c')
| -rw-r--r-- | fs/select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/select.c b/fs/select.c index 8dda969614a9..da0e88201c3a 100644 --- a/fs/select.c +++ b/fs/select.c @@ -249,7 +249,6 @@ int do_select(int n, fd_set_bits *fds, s64 *timeout) retval++; } } - cond_resched(); } if (res_in) *rinp = res_in; @@ -257,6 +256,7 @@ int do_select(int n, fd_set_bits *fds, s64 *timeout) *routp = res_out; if (res_ex) *rexp = res_ex; + cond_resched(); } wait = NULL; if (retval || !*timeout || signal_pending(current)) |
