patch-2.1.43 linux/init/main.c
Next file: linux/kernel/exit.c
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index
- Lines: 57
- Date:
Thu Jun 12 16:22:10 1997
- Orig file:
v2.1.42/linux/init/main.c
- Orig date:
Thu May 29 21:53:11 1997
diff -u --recursive --new-file v2.1.42/linux/init/main.c linux/init/main.c
@@ -32,6 +32,7 @@
#include <linux/slab.h>
#include <linux/major.h>
#include <linux/blk.h>
+#include <linux/nametrans.h>
#include <linux/init.h>
#ifdef CONFIG_ROOT_NFS
#include <linux/nfs_fs.h>
@@ -72,6 +73,7 @@
extern long mca_init(long, long);
extern long sbus_init(long, long);
extern void sysctl_init(void);
+extern void filescache_init(void);
extern void smp_setup(char *str, int *ints);
extern void no_scroll(char *str, int *ints);
@@ -84,6 +86,9 @@
extern void lp_setup(char *str, int *ints);
#endif
extern void eth_setup(char *str, int *ints);
+#ifdef CONFIG_DECNET
+extern void decnet_setup(char *str, int *ints);
+#endif
extern void xd_setup(char *str, int *ints);
#ifdef CONFIG_BLK_DEV_EZ
extern void ez_setup(char *str, int *ints);
@@ -324,6 +329,9 @@
#ifdef CONFIG_INET
{ "ether=", eth_setup },
#endif
+#ifdef CONFIG_DECNET
+ { "decnet=", decnet_setup },
+#endif
#ifdef CONFIG_PRINTER
{ "lp=", lp_setup },
#endif
@@ -551,6 +559,12 @@
return 1;
}
#endif
+#ifdef CONFIG_TRANS_NAMES
+ if(!strncmp(line,"nametrans=",10)) {
+ nametrans_setup(line+10);
+ return 1;
+ }
+#endif
while (bootsetups[i].str) {
int n = strlen(bootsetups[i].str);
if (!strncmp(line,bootsetups[i].str,n)) {
@@ -886,6 +900,7 @@
proc_root_init();
#endif
uidcache_init();
+ filescache_init();
vma_init();
buffer_init();
inode_init();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov