diff options
author | Suravee Suthikulpanit <[email protected]> | 2017-02-24 02:48:17 -0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-03-30 09:53:53 +0200 |
commit | 6b9376e30f42b902260371245f009bc05eb3fdfb (patch) | |
tree | 70cd6609697c7a84a9f8542c99f5786be0e97230 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0a6d80c70b9150d6a9cf466d41955e374c2c9fab (diff) |
x86/events, drivers/iommu/amd: Introduce amd_iommu_get_num_iommus()
Introduce amd_iommu_get_num_iommus(), which returns the value of
amd_iommus_present. The function is used to replace direct access to the
variable, which is now declared as static.
This function will also be used by AMD IOMMU perf driver.
Signed-off-by: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Jörg Rödel <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions