diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2017-02-24 12:13:37 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-03-21 14:58:18 +0100 |
commit | d751751a9f7f2f8e406d5a09565d337f009835d6 (patch) | |
tree | b5ed3a1536a8e0418dd738a17ad356d0eba882e7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 97da3854c526d3a6ee05c849c96e48d21527606c (diff) |
iommu/iova: Consolidate code for adding new node to iovad domain rbtree
This patch consolidates almost the same code used in iova_insert_rbtree()
and __alloc_and_insert_iova_range() functions. While touching this code,
replace BUG() with WARN_ON(1) to avoid taking down the whole system in
case of corrupted iova tree or incorrect calls.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions