]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/vmalloc.c: export unmap_kernel_range()
authorMinchan Kim <minchan@kernel.org>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:27 +0000 (10:43 +1000)
commit1efc6493942747fac300c8d1e5ceb6dbeede0e5e
tree5c200ffa7f4180644fac1ce1ce99ca1e99ddc667
parent0bea83b325d0db5f37ec7847135c53502a4b0e17
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>
mm/vmalloc.c