ANDROID: mm: Export do_munmap
authorGuenter Roeck <groeck@chromium.org>
Thu, 24 Mar 2016 17:39:14 +0000 (10:39 -0700)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:12 +0000 (19:40 -0800)
The 0-day build bot reports the following build error, seen if SDCARD_FS
is built as module.

ERROR: "do_munmap" undefined!

Fixes: 84a1b7d3d312 ("Included sdcardfs source code for kernel 3.0")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
mm/mmap.c

index df2ee19e5d97e7d13905c9249b1a3e59e4d183c9..389c929424f5dde9330e9731a4faa6a737d48960 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2726,6 +2726,7 @@ int do_munmap(struct mm_struct *mm, unsigned long start, size_t len,
 
        return 0;
 }
+EXPORT_SYMBOL(do_munmap);
 
 int vm_munmap(unsigned long start, size_t len)
 {