git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: PPC: Add support for ePAPR idle hcall in host kernel
[pandora-kernel.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index
3bd2280
..
2c8857e
100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-455,8
+455,8
@@
static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
if (retval)
goto out;
- if (file
&& uprobe_mmap(tmp)
)
-
goto out
;
+ if (file)
+
uprobe_mmap(tmp)
;
}
/* a new mm has just been created */
arch_dup_mmap(oldmm, mm);