diff options
| author | Sergey Senozhatsky <[email protected]> | 2014-04-07 15:38:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-07 16:36:00 -0700 |
| commit | a68eb3b65e658406d386bebef02277f4007b2f45 (patch) | |
| tree | 26e8c5a63560e39a7a79275c4fc7a851f0922f02 /tools/perf/scripts/python | |
| parent | 90a7806ea9b9f7cb4751859cc2506e2d80e36ef1 (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 <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Jerome Marchand <[email protected]>
Cc: Nitin Gupta <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions