staging: zcache: fix ppc64 and other arches where PAGE_SIZE!=4K
authorDan Magenheimer <dan.magenheimer@oracle.com>
Wed, 23 Jan 2013 21:46:30 +0000 (13:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 19:26:26 +0000 (11:26 -0800)
commite49ee36d2477e405da1fe0e6efbf4c122df3b300
treec951f89690077925c5e03f7939fa0255c3dd6a49
parentc4048c641ad7769e4197ff114eaab01f4662cbca
staging: zcache: fix ppc64 and other arches where PAGE_SIZE!=4K

Replace raw constant 12 with PAGE_SHIFT to fix non-x86 arches and
provoke build failure if PAGE_SHIFT is too big

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/zbud.c