Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: fix zcache building

zcache is only building tmem.c and not building zcache.c. To keep the
module name, zcache.c must be renamed if symbols from tmem.c are to
remain unexported.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Thadeu Lima de Souza Cascardo and committed by
Greg Kroah-Hartman
bf0c0259 c027a474

+1 -1
+1 -1
drivers/staging/zcache/Makefile
··· 1 - zcache-y := tmem.o 1 + zcache-y := zcache-main.o tmem.o 2 2 3 3 obj-$(CONFIG_ZCACHE) += zcache.o
drivers/staging/zcache/zcache.c drivers/staging/zcache/zcache-main.c