diff options
author | 2013-12-12 17:53:59 +0100 | |
---|---|---|
committer | 2013-12-16 14:37:56 +0100 | |
commit | f7038b7c3f4924b18390c51c1ec1e49287cc87db (patch) | |
tree | 1d2db04d9d8ed0497694dc1fee5ae95b4de8d946 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/pci: set error state for unavailable functions (diff) | |
download | linux-dev-f7038b7c3f4924b18390c51c1ec1e49287cc87db.tar.xz linux-dev-f7038b7c3f4924b18390c51c1ec1e49287cc87db.zip |
s390/pci/dma: fix accounting of allocated_pages
allocated_pages sometimes are increased even if s390_dma_alloc fails
also this value is never decreased even if s390_dma_free is called.
This patch fixes these bugs.
Also remove the atomic64_t casts (the members are already of this type).
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions