patch-2.1.110 linux/drivers/char/random.c
Next file: linux/drivers/char/rsf16fmi.h
Previous file: linux/drivers/char/radio.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jul 20 14:00:11 1998
- Orig file:
v2.1.109/linux/drivers/char/random.c
- Orig date:
Thu Jul 16 18:09:24 1998
diff -u --recursive --new-file v2.1.109/linux/drivers/char/random.c linux/drivers/char/random.c
@@ -1268,7 +1268,7 @@
nbytes -= i;
buf += i;
add_timer_randomness(r, &extract_timer_state, nbytes);
- if (to_user && need_resched)
+ if (to_user && current->need_resched)
schedule();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov