From: Guenter Roeck Date: Thu, 24 Mar 2016 17:39:14 +0000 (-0700) Subject: ANDROID: mm: Export do_munmap X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb3422d0ffd6e28cf0dd2b9df7368f949fea0112;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ANDROID: mm: Export do_munmap 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 Signed-off-by: Guenter Roeck --- diff --git a/mm/mmap.c b/mm/mmap.c index df2ee19e5d97..389c929424f5 100644 --- 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) {