[PATCH 5/6] mm: export shmem_zero_setup for modules
From: Mike Rapoport
Date: Mon Aug 10 2015 - 02:25:23 EST
to allow building Android ASHMEM as module
Signed-off-by: Mike Rapoport <mike.rapoport@xxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/