patch-2.3.23 linux/drivers/char/n_tty.c
Next file: linux/drivers/char/pcxx.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 19 10:22:20 1999
- Orig file:
v2.3.22/linux/drivers/char/n_tty.c
- Orig date:
Mon Oct 11 15:38:14 1999
diff -u --recursive --new-file v2.3.22/linux/drivers/char/n_tty.c linux/drivers/char/n_tty.c
@@ -811,7 +811,7 @@
if (!tty->read_buf) {
tty->read_buf = (unsigned char *)
- get_free_page(in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
+ get_zeroed_page(in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
if (!tty->read_buf)
return -ENOMEM;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)