projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VM: add "vm_munmap()" helper function
[firefly-linux-kernel-4.4.55.git]
/
include
/
linux
/
mm.h
diff --git
a/include/linux/mm.h
b/include/linux/mm.h
index d8738a464b94a71822f191bdd45bcac29b01814c..cb61950a3aa17e08c7291242abf261ce06e6606e 100644
(file)
--- a/
include/linux/mm.h
+++ b/
include/linux/mm.h
@@
-1415,7
+1415,9
@@
out:
extern int do_munmap(struct mm_struct *, unsigned long, size_t);
extern int do_munmap(struct mm_struct *, unsigned long, size_t);
-extern unsigned long do_brk(unsigned long, unsigned long);
+/* These take the mm semaphore themselves */
+extern unsigned long vm_brk(unsigned long, unsigned long);
+extern int vm_munmap(struct mm_struct *, unsigned long, size_t);
/* truncate.c */
extern void truncate_inode_pages(struct address_space *, loff_t);
/* truncate.c */
extern void truncate_inode_pages(struct address_space *, loff_t);