android_kernel_google_msm/drivers/block/zram
Joonsoo Kim 6465c3647b UPSTREAM: zram: use proper type to update max_used_pages
(cherry-pick from commit 2ea55a2caee016daee511431217861fb04767b27)

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.

Bug: 25951511

Change-Id: Iacae8b3edd074247d8416db9e47b5f3b4d80fb9f
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>
2018-01-01 21:27:09 +03:00
..
Kconfig zram: add lz4 algorithm backend 2018-01-01 21:26:52 +03:00
Makefile zram: add lz4 algorithm backend 2018-01-01 21:26:52 +03:00
zcomp.c zram: use scnprintf() in attrs show() methods 2018-01-01 21:26:53 +03:00
zcomp.h zram: propagate error to user 2018-01-01 21:26:53 +03:00
zcomp_lz4.c zram: add lz4 algorithm backend 2018-01-01 21:26:52 +03:00
zcomp_lz4.h zram: add lz4 algorithm backend 2018-01-01 21:26:52 +03:00
zcomp_lzo.c zram: introduce compressing backend abstraction 2018-01-01 21:26:50 +03:00
zcomp_lzo.h zram: introduce compressing backend abstraction 2018-01-01 21:26:50 +03:00
zram_drv.c UPSTREAM: zram: use proper type to update max_used_pages 2018-01-01 21:27:09 +03:00
zram_drv.h UPSTREAM: zram: remove request_queue from struct zram 2018-01-01 21:27:08 +03:00