diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-08-09 16:15:43 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-08-15 13:59:34 +0200 |
commit | 07eb6fdf4933336098c3e955961071e85d3dff9f (patch) | |
tree | 73ceda27f370c98d39bfc4905a3d690849278a2a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | af29d9fa41b4b427830aea3911224aef6d61ee50 (diff) |
iommu/pamu: WARN when fsl_pamu_probe() is called more than once
The function probes the PAMU hardware from device-tree
specifications. It initializes global variables and can thus
be only safely called once.
Add a check that that prints a warning when its called more
than once.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions