[PATCH 5/6] mm: export shmem_zero_setup for modules

Mike Rapoport
2015-08-10T06:25:01Z

to allow building Android ASHMEM as module

Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
---
mm/shmem.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/mm/shmem.c b/mm/shmem.c
index 4caf8ed..80b4098 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -3411,6 +3411,7 @@ int shmem_zero_setup(struct vm_area_struct *vma)
vma->vm_ops = &shmem_vm_ops;
return 0;
}
+EXPORT_SYMBOL_GPL(shmem_zero_setup);

/**
* shmem_read_mapping_page_gfp - read into page cache, using specified page allocation flags.
--
1.8.3.1