diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-18 14:10:29 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-18 14:10:29 +1000 |
commit | 835519b7469b21256b1a65404a7e306996e9296a (patch) | |
tree | d07c29ed3a8755d58d9fc54c3c1bc1963bef4cf1 /arch/hexagon/kernel/vdso.c | |
parent | d0a783895690d227fb7cadc5482d787fb44fd425 (diff) | |
parent | 00e984c3a3ea20cdaf22ff5355f50d8a01a81ce7 (diff) |
Merge branch 'akpm/master'
Diffstat (limited to 'arch/hexagon/kernel/vdso.c')
-rw-r--r-- | arch/hexagon/kernel/vdso.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/hexagon/kernel/vdso.c b/arch/hexagon/kernel/vdso.c index 0bf5a87e4d0a..3ea968415539 100644 --- a/arch/hexagon/kernel/vdso.c +++ b/arch/hexagon/kernel/vdso.c @@ -65,7 +65,8 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) unsigned long vdso_base; struct mm_struct *mm = current->mm; - down_write(&mm->mmap_sem); + if (down_write_killable(&mm->mmap_sem)) + return -EINTR; /* Try to get it loaded right near ld.so/glibc. */ vdso_base = STACK_TOP; |