summaryrefslogtreecommitdiff
path: root/lib/llist.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2015-01-17 06:53:17 +0300
committerJoerg Roedel <jroedel@suse.de>2015-01-19 17:19:31 +0300
commitdb8614d35bb8fc6d032792c801bd5b38ce860f19 (patch)
treefd3ed8ebd2273d0b0404909c8ca84901ea4d5f79 /lib/llist.c
parent6fd492fd746d9858a41dc85eef44bd627b809109 (diff)
downloadlinux-db8614d35bb8fc6d032792c801bd5b38ce860f19.tar.xz
iommu: Change trace unmap api to report unmapped size
Currently map and unmap are implemented as events under a common trace class declaration. The common class forces trace_unmap() to require a bogus physical address argument that it doesn't use. Changing unmap to report unmapped size will provide useful information for debugging. Remove common map_unmap trace class and change map and unmap into separate events as opposed to events under the same class to allow for differences in the reporting information. In addition, map and unmap are changed to handle size value as size_t instead of int to match the passed size value and avoid overflow. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Suggested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions