diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2024-07-31 11:42:56 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-08-12 16:32:13 +0200 |
commit | 440814caedb0e33c56f0478d7fa5b54479013904 (patch) | |
tree | 5dbc142c4e7d182a38a34b6ad4bbe78140e5ec43 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 523b1c036ba970beaac3584f92a367be367f9146 (diff) |
platform/x86: ISST: Simplify isst_misc_reg() and isst_misc_unreg()
After commit '1630dc626c87 ("platform/x86: ISST: Add model specific
loading for common module")' isst_misc_reg() and isst_misc_unreg() can be
simplified. Since these functions are only called during module_init()
and module_exit() respectively, there is no contention while calling
misc_register()/misc_deregister or isst_if_cpu_info_init()/
isst_if_cpu_info_exit().
Hence remove mutex and reference counting.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240731184256.1852840-1-srinivas.pandruvada@linux.intel.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions