From: Nitin Gupta Date: Fri, 18 Feb 2011 22:33:18 +0000 (-0500) Subject: staging: Allow sharing xvmalloc for zram and zcache X-Git-Tag: v2.6.39-rc1~469^2~458 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8bb7aab9ad84bce7d81878fda64d631089a88d;p=pandora-kernel.git staging: Allow sharing xvmalloc for zram and zcache Both zram and zcache use xvmalloc allocator. If xvmalloc is compiled separately for both of them, we will get linker error if they are both selected as "built-in". We can also get linker error regarding missing xvmalloc symbols if zram is not built. So, we now compile xvmalloc separately and export its symbols which are then used by both of zram and zcache. Signed-off-by: Nitin Gupta Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed