From: Joonsoo Kim Date: Fri, 27 Feb 2015 23:52:01 +0000 (-0800) Subject: zram: use proper type to update max_used_pages X-Git-Tag: fixes-v4.0-rc2~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ea55a2caee016daee511431217861fb04767b27;p=pandora-kernel.git zram: use proper type to update max_used_pages max_used_pages is defined as atomic_long_t so we need to use unsigned long to keep temporary value for it rather than int which is smaller than unsigned long in a 64 bit system. Signed-off-by: Joonsoo Kim Cc: Minchan Kim Cc: Jerome Marchand Cc: Nitin Gupta Cc: Sergey Senozhatsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed