aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2014-04-07 15:38:04 -0700
committerMister Oyster <oysterized@gmail.com>2016-12-11 13:00:42 +0100
commit8e0c1d831cb3b2fe63bbdda8f2a727a6c281b8cd (patch)
tree9c7b14b2741f0fa59c866893a23db78b40cd42a8 /include/linux/workqueue.h
parent6591c4ab99af3fc3d84c74b2ce46d4d64e80c819 (diff)
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/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions