diff options
author | Joonsoo Kim <js1304@gmail.com> | 2015-02-27 15:52:01 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-28 09:57:51 -0800 |
commit | 2ea55a2caee016daee511431217861fb04767b27 (patch) | |
tree | 1ff5138f0ce34de6234109f9632b3b3395272ec7 /mm | |
parent | b00eeaedece2e8cb1607cb015f10e572e2607c49 (diff) | |
download | linux-2ea55a2caee016daee511431217861fb04767b27.tar.bz2 |
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 <iamjoonsoo.kim@lge.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions