From: Arnd Bergmann Date: Tue, 23 Apr 2013 16:30:48 +0000 (+0200) Subject: staging/zsmalloc: don't use pgtable-mapping from modules X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=796ce5a7e4ef88ee0bfbeaa80070a51570650d57;p=pandora-kernel.git 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 Cc: Greg Kroah-Hartman Cc: Seth Jennings Cc: Nitin Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed