aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2014-04-07 15:38:04 -0700
committerAndreas Blaesius <skate4life@gmx.de>2016-06-05 21:21:44 +0200
commit982f2c490dea7102fe7ac48df452756456c66812 (patch)
tree57096d695ae4f48fe826582fe879f8622a7f5d19 /include
parentdcfa7aaac286aef92d38eb63205974285fc6464d (diff)
downloadkernel_samsung_espresso10-982f2c490dea7102fe7ac48df452756456c66812.zip
kernel_samsung_espresso10-982f2c490dea7102fe7ac48df452756456c66812.tar.gz
kernel_samsung_espresso10-982f2c490dea7102fe7ac48df452756456c66812.tar.bz2
zram: remove zram stats code duplication
Introduce ZRAM_ATTR_RO macro that generates device_attribute and default ATTR show() function for existing atomic64_t zram stats. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Jerome Marchand <jmarchan@redhat.com> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions