staging: zsmalloc: rename zspage_order with zspage_pages
authorMinchan Kim <minchan@kernel.org>
Thu, 3 May 2012 06:40:39 +0000 (15:40 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 May 2012 20:20:22 +0000 (13:20 -0700)
commit2e3b61547191a5934ff6c789aaa4d7e9a9e52f5a
tree34717f8f97b5b9fb31cd9efd5e1019890766f488
parent71a30f68c608084fd53a3de5fe5614e24fe6729e
staging: zsmalloc: rename zspage_order with zspage_pages

zspage_order defines how many pages are needed to make a zspage.
So _order_ is rather awkward naming. It already deceive Jonathan
- http://lwn.net/Articles/477067/
" For each size, the code calculates an optimum number of pages (up to 16)"

Let's change from _order_ to _pages_ and some function names.

Signed-off-by: Minchan Kim <minchan@kernel.org>
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