zram/xvmalloc: Close 32byte hole on 64bit CPUs
authorRobert Jennings <rcj@linux.vnet.ibm.com>
Fri, 28 Jan 2011 15:00:03 +0000 (09:00 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 21:29:11 +0000 (13:29 -0800)
commit37700965858a099d250bca531ca1c99b22c8708d
tree8015f1cf7159a2db38cc0e9960fe395545a4dd6a
parentb1f5b81ebeee3974a8c793cafacace991d9a864d
zram/xvmalloc: Close 32byte hole on 64bit CPUs

By swapping the total_pages statistic with the lock we close a
hole in the structure for 64-bit CPUs.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/xvmalloc_int.h