patch-2.1.37 linux/drivers/char/consolemap.c

Next file: linux/drivers/char/cyclades.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/char/consolemap.c linux/drivers/char/consolemap.c
@@ -11,6 +11,7 @@
 #include <linux/errno.h>
 #include <linux/mm.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 #include <asm/uaccess.h>
 #include "consolemap.h"
 
@@ -483,8 +484,8 @@
  * initialized.  It must be possible to call kmalloc(..., GFP_KERNEL)
  * from this function, hence the call from sys_setup.
  */
-void
-console_map_init(void)
+__initfunc(void
+console_map_init(void))
 {
   con_set_default_unimap();
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov