projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] proc_misc warning fix
[powerpc.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index
11fe93f
..
7e36c6f
100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-405,12
+405,10
@@
int setup_arg_pages(struct linux_binprm *bprm,
bprm->loader += stack_base;
bprm->exec += stack_base;
bprm->loader += stack_base;
bprm->exec += stack_base;
- mpnt = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL);
+ mpnt = kmem_cache_
z
alloc(vm_area_cachep, GFP_KERNEL);
if (!mpnt)
return -ENOMEM;
if (!mpnt)
return -ENOMEM;
- memset(mpnt, 0, sizeof(*mpnt));
-
down_write(&mm->mmap_sem);
{
mpnt->vm_mm = mm;
down_write(&mm->mmap_sem);
{
mpnt->vm_mm = mm;