mm: Export do_munmap
authorGuenter Roeck <groeck@chromium.org>
Thu, 24 Mar 2016 17:39:14 +0000 (10:39 -0700)
committerGuenter Roeck <groeck@google.com>
Tue, 29 Mar 2016 02:04:52 +0000 (02:04 +0000)
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 2b11430087937f2ff8bdf21b6c5622531c9d09ab..ee856266cc61b74f0f8053a35f12328f77cbda16 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2639,6 +2639,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)
 {