X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=arch%2Ftile%2Fmm%2Felf.c;h=88990182440026d06c6d69634eb2cbd12788e6e2;hb=a44ddbcbbd72ba8569df1ecbb4b1372506454dff;hp=f7ddae3725a4aedc686b834efe05237dd1517310;hpb=7c79f1c9fd436c649a2f5b6fcf7c7290671511f2;p=karo-tx-linux.git diff --git a/arch/tile/mm/elf.c b/arch/tile/mm/elf.c index f7ddae3725a4..889901824400 100644 --- a/arch/tile/mm/elf.c +++ b/arch/tile/mm/elf.c @@ -56,7 +56,7 @@ static int notify_exec(struct mm_struct *mm) if (exe_file == NULL) goto done_free; - path = d_path(&exe_file->f_path, buf, PAGE_SIZE); + path = file_path(exe_file, buf, PAGE_SIZE); if (IS_ERR(path)) goto done_put; @@ -143,7 +143,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, unsigned long addr = MEM_USER_INTRPT; addr = mmap_region(NULL, addr, INTRPT_SIZE, VM_READ|VM_EXEC| - VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, 0); + VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, 0, NULL); if (addr > (unsigned long) -PAGE_SIZE) retval = (int) addr; }