diff options
| author | Minchan Kim <minchan@kernel.org> | 2014-06-04 16:11:09 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2019-05-02 21:10:43 +0200 |
| commit | fffed9ef3276a83a0a7d955e363b5d7fe19a2294 (patch) | |
| tree | 573b5a673b881c755f2823256e3c81665573dd62 /include/linux/getcpu.h | |
| parent | db0ba484ab756d543111acfb91419bee47793b79 (diff) | |
mm/vmalloc.c: export unmap_kernel_range()
zsmalloc needs exported unmap_kernel_range for building as a module. See
https://lkml.org/lkml/2013/1/18/487
I didn't send a patch to make unmap_kernel_range exportable at that time
because zram was staging stuff and I thought VM function exporting for
staging stuff makes no sense.
Now zsmalloc was promoted. If we can't build zsmalloc as module, it means
we can't build zram as module, either. Additionally, buddy map_vm_area is
already exported so let's export unmap_kernel_range to help his buddy.
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Change-Id: Ide5d0ac0f01cf3e450d57d351ebb0a927bc9d0c9
(cherry picked from commit 7ec89560f3162fcbfbf44cf2c508ed4451593711)
Diffstat (limited to 'include/linux/getcpu.h')
0 files changed, 0 insertions, 0 deletions
