mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-23 19:44:43 +02:00
add missing function declaration for extra vm exports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16456 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9f28e5bd03
commit
4b274577f3
@ -114,3 +114,13 @@
|
|||||||
|
|
||||||
struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,
|
struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,
|
||||||
void *caller)
|
void *caller)
|
||||||
|
--- a/include/linux/mm.h
|
||||||
|
+++ b/include/linux/mm.h
|
||||||
|
@@ -728,6 +728,7 @@ static inline int shmem_lock(struct file
|
||||||
|
#endif
|
||||||
|
struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags);
|
||||||
|
|
||||||
|
+void shmem_set_file(struct vm_area_struct *vma, struct file *file);
|
||||||
|
int shmem_zero_setup(struct vm_area_struct *);
|
||||||
|
|
||||||
|
#ifndef CONFIG_MMU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user