diff options
author | Chris Packham <[email protected]> | 2017-06-07 11:54:59 +1200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2017-06-14 13:49:25 +0200 |
commit | ff0abed4922ffbd40dc4e5a78b8ea56a5eb68ec7 (patch) | |
tree | 1a97df13f1d384c0660cf115dcc53bb49bf0019e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 133e4455c9b49071906775319e2e6d083a4f024d (diff) |
EDAC, altera: Simplify calculation of total memory
Use of_address_to_resource() and resource_size() instead of manually
parsing the "reg" property from the "memory" node(s).
Signed-off-by: Chris Packham <[email protected]>
Tested-by: Thor Thayer <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions