patch-2.1.36 linux/fs/binfmt_em86.c
Next file: linux/fs/binfmt_java.c
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Apr 22 22:42:51 1997
- Orig file:
v2.1.35/linux/fs/binfmt_em86.c
- Orig date:
Mon Apr 14 16:28:17 1997
diff -u --recursive --new-file v2.1.35/linux/fs/binfmt_em86.c linux/fs/binfmt_em86.c
@@ -14,6 +14,8 @@
#include <linux/malloc.h>
#include <linux/binfmts.h>
#include <linux/elf.h>
+#include <linux/init.h>
+
#define EM86_INTERP "/usr/bin/em86"
#define EM86_I_NAME "em86"
@@ -100,11 +102,12 @@
#ifndef MODULE
NULL, 0, load_em86, NULL, NULL
#else
- NULL, &mod_use_count_, load_em86, NULL, NULL
+ NULL, &__this_module, load_em86, NULL, NULL
#endif
};
-int init_em86_binfmt(void) {
+__initfunc(int init_em86_binfmt(void))
+{
return register_binfmt(&em86_format);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov