]> git.baikalelectronics.ru Git - kernel.git/commit
staging: zsmalloc: move object/handle masking defines
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Mon, 5 Mar 2012 17:33:20 +0000 (11:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 21:31:28 +0000 (13:31 -0800)
commitcd25aacb626ab8095d3f7747fab3e3438fc190f6
treeff438d9ab6f79961967cb777141bdb22acf4e78f
parent55fd647ec372de5036fcf2001cb7b257d45dff6d
staging: zsmalloc: move object/handle masking defines

This patch moves the definitions of _PFN_BITS, OBJ_INDEX_BITS
and OBJ_INDEX_MASK from zsmalloc-main.c to zsmalloc_int.h

They will be needed to determine ZS_MIN_ALLOC_SIZE in the next
patch

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Acked-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zsmalloc/zsmalloc-main.c
drivers/staging/zsmalloc/zsmalloc_int.h