patch-2.1.37 linux/kernel/printk.c
Next file: linux/kernel/resource.c
Previous file: linux/kernel/panic.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon May 12 10:35:44 1997
- Orig file:
v2.1.36/linux/kernel/printk.c
- Orig date:
Sun Apr 13 10:18:22 1997
diff -u --recursive --new-file v2.1.36/linux/kernel/printk.c linux/kernel/printk.c
@@ -25,6 +25,7 @@
#include <linux/smp.h>
#include <linux/smp_lock.h>
#include <linux/console.h>
+#include <linux/init.h>
#include <asm/uaccess.h>
@@ -261,7 +262,7 @@
* print any messages that were printed by the kernel before the
* console driver was initialized.
*/
-void register_console(struct console * console)
+__initfunc(void register_console(struct console * console))
{
int i,j,len;
int p = log_start;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov