summaryrefslogtreecommitdiffstats
path: root/include/linux/binfmts.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/binfmts.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/binfmts.h')
-rw-r--r--include/linux/binfmts.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index 6cb59427c..a96e034ce 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -33,7 +33,7 @@ struct linux_binprm{
*/
struct linux_binfmt {
struct linux_binfmt * next;
- long *use_count;
+ struct module *module;
int (*load_binary)(struct linux_binprm *, struct pt_regs * regs);
int (*load_shlib)(int fd);
int (*core_dump)(long signr, struct pt_regs * regs);
@@ -48,10 +48,12 @@ extern int read_exec(struct inode *inode, unsigned long offset,
extern int open_inode(struct inode * inode, int mode);
extern int init_elf_binfmt(void);
+extern int init_elf32_binfmt(void);
extern int init_irix_binfmt(void);
extern int init_aout_binfmt(void);
extern int init_script_binfmt(void);
extern int init_java_binfmt(void);
+extern int init_em86_binfmt(void);
extern int prepare_binprm(struct linux_binprm *);
extern void remove_arg_zero(struct linux_binprm *);