diff options
author | 2013-08-20 12:13:03 -0500 | |
---|---|---|
committer | 2013-08-21 11:49:47 -0700 | |
commit | cb5e39b8038be913030a7b01d4396cfa5f9ded7b (patch) | |
tree | 63b185655cf8f74ecdc3b97a51fe76f85a75fc73 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers: base: remove improper get/put in add_memory_section() (diff) | |
download | linux-dev-cb5e39b8038be913030a7b01d4396cfa5f9ded7b.tar.xz linux-dev-cb5e39b8038be913030a7b01d4396cfa5f9ded7b.zip |
drivers: base: refactor add_memory_section() to add_memory_block()
Right now memory_dev_init() maintains the memory block pointer
between iterations of add_memory_section(). This is nasty.
This patch refactors add_memory_section() to become add_memory_block().
The refactoring pulls the section scanning out of memory_dev_init()
and simplifies the signature.
Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions