X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fbinfmt_flat.c;h=0bc28feab26a242e53e81f09174aec5035be3e50;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=c8113cc235f79c15061ba7a1b667e41e8b7ff713;hpb=a8e794ca871505c8ea96cc102f4ad555c5231d7f;p=linux-2.6.git diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index c8113cc23..0bc28feab 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -36,11 +36,11 @@ #include #include #include +#include #include #include #include -#include #include #include @@ -724,7 +724,7 @@ static int load_flat_file(struct linux_binprm * bprm, return -ENOEXEC; /* Get the pointer's value. */ - addr = flat_get_addr_from_rp(rp, relval); + addr = flat_get_addr_from_rp(rp, relval, flags); if (addr != 0) { /* * Do the relocation. PIC relocs in the data section are @@ -897,7 +897,7 @@ static void __exit exit_flat_binfmt(void) /****************************************************************************/ -module_init(init_flat_binfmt); +core_initcall(init_flat_binfmt); module_exit(exit_flat_binfmt); /****************************************************************************/