summaryrefslogtreecommitdiff
path: root/drivers/gpu/stub
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2012-03-05 17:33:21 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-07 21:31:28 (GMT)
commit84d4faaba27991bde9fa5ec0716d14ad279ba8ab (patch)
tree37204c7ced4ed402ec8afda0bb3eb4c5c2c082a0 /drivers/gpu/stub
parentaafefe932a46f7d0a85b6c48e71befd1003d1e6b (diff)
downloadlinux-fsl-qoriq-84d4faaba27991bde9fa5ec0716d14ad279ba8ab.tar.xz
staging: zsmalloc: add ZS_MAX_PAGES_PER_ZSPAGE
This patch moves where max_zspage_order is declared and changes its meaning. "Order" typically implies 2^order of something; however, it is currently being used as the "maximum number of single pages in a zspage". To add clarity, ZS_MAX_ZSPAGE_ORDER is now used to calculate ZS_MAX_PAGES_PER_ZSPAGE, which is 2^ZS_MAX_ZSPAGE_ORDER and is the upper bound on the number of pages in a zspage. 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>
Diffstat (limited to 'drivers/gpu/stub')
0 files changed, 0 insertions, 0 deletions