aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2015-06-25 15:00:19 -0700
committerLinus Torvalds <[email protected]>2015-06-25 17:00:36 -0700
commit92ff15288747b80730f0132e9c98403370c27b34 (patch)
tree40ccefd330a9a7bef36cf8ff9cd14804ab4cb9f9 /tools/perf/scripts/python
parentb31177f2a9d5b2cfb1da7a06a4a98273b40975a8 (diff)
zram: return zram device_id from zram_add()
This patch prepares zram to enable on-demand device creation. zram_add() performs automatic device_id assignment and returns new device id (>= 0) or error code (< 0). Signed-off-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[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