WSL2-Linux-Kernel/drivers/staging/zsmalloc
Arnd Bergmann 796ce5a7e4 staging/zsmalloc: don't use pgtable-mapping from modules
Building zsmalloc as a module does not work on ARM because it uses
an interface that is not exported:

ERROR: "flush_tlb_kernel_range" [drivers/staging/zsmalloc/zsmalloc.ko] undefined!

Since this is only used as a performance optimization and only on ARM,
we can avoid the problem simply by not using that optimization when
building zsmalloc it is a loadable module.

flush_tlb_kernel_range is often an inline function, but out of the
architectures that use an extern function, only powerpc exports
it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-23 10:34:20 -07:00
..
Kconfig staging: zsmalloc: Fix link error on ARM 2013-03-28 16:08:54 -07:00
Makefile staging: zsmalloc: zsmalloc memory allocation library 2012-02-08 17:12:53 -08:00
zsmalloc-main.c staging/zsmalloc: don't use pgtable-mapping from modules 2013-04-23 10:34:20 -07:00
zsmalloc.h staging: zsmalloc: remove unused pool name 2013-01-30 18:22:41 +01:00