linux/drivers/staging/zsmalloc
Ben Hutchings 069f101fa4 staging: zsmalloc: Finish conversion to a separate module
ZSMALLOC is tristate, but the code has no MODULE_LICENSE and since it
depends on GPL-only symbols it cannot be loaded as a module.  This in
turn breaks zram which now depends on it.  I assume it's meant to be
Dual BSD/GPL like the other z-stuff.

There is also no module_exit, which will make it impossible to unload.
Add the appropriate module_init and module_exit declarations suggested
by comments.

Reported-by: Christian Ohm <chr.ohm@gmx.net>
References: http://bugs.debian.org/677273
Cc: stable@vger.kernel.org # v3.4
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-20 16:11:34 -07:00
..
Kconfig staging: zsmalloc: remove SPARSEMEM dep from Kconfig 2012-03-07 13:31:28 -08:00
Makefile
zsmalloc_int.h staging: zsmalloc: rename zspage_order with zspage_pages 2012-05-09 13:20:22 -07:00
zsmalloc-main.c staging: zsmalloc: Finish conversion to a separate module 2012-06-20 16:11:34 -07:00
zsmalloc.h staging: zsmalloc: zsmalloc: use unsigned long instead of void * 2012-06-11 08:57:47 -07:00