patch-2.3.23 linux/drivers/char/serial.c
Next file: linux/drivers/char/stallion.c
Previous file: linux/drivers/char/radio-cadet.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Tue Oct 19 10:22:20 1999
- Orig file:
v2.3.22/linux/drivers/char/serial.c
- Orig date:
Mon Oct 4 15:49:29 1999
diff -u --recursive --new-file v2.3.22/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -1127,7 +1127,7 @@
unsigned short ICP;
#endif
- page = get_free_page(GFP_KERNEL);
+ page = get_zeroed_page(GFP_KERNEL);
if (!page)
return -ENOMEM;
@@ -2974,7 +2974,7 @@
#endif
if (!tmp_buf) {
- page = get_free_page(GFP_KERNEL);
+ page = get_zeroed_page(GFP_KERNEL);
if (!page) {
return -ENOMEM;
}
@@ -4359,10 +4359,9 @@
/*
* Register console.
*/
-long __init serial_console_init(long kmem_start, long kmem_end)
+void __init serial_console_init(void)
{
register_console(&sercons);
- return kmem_start;
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)