From: Joerg Roedel Date: Wed, 27 Mar 2013 00:43:14 +0000 (+0100) Subject: staging: zsmalloc: Fix link error on ARM X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~413 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d95abbbb291bf5bce078148f53603ce9c0aa1d44;p=pandora-kernel.git staging: zsmalloc: Fix link error on ARM Testing the arm chromebook config against the upstream kernel produces a linker error for the zsmalloc module from staging. The symbol flush_tlb_kernel_range is not available there. Fix this by removing the reimplementation of unmap_kernel_range in the zsmalloc module and using the function directly. The unmap_kernel_range function is not usable by modules, so also disallow building the driver as a module for now. Cc: stable Signed-off-by: Joerg Roedel Acked-by: Minchan Kim Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed