diff options
author | Alexander Antonov <alexander.antonov@linux.intel.com> | 2023-11-27 10:52:46 -0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-11-30 14:29:53 +0100 |
commit | fdd041028f2294228e10610b4fca6a1a83ac683d (patch) | |
tree | 020cda9088c0b206e56f8c48dbcb2749725a8a35 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 1692cf434ba13ee212495b5af795b6a07e986ce4 (diff) | |
download | linux-fdd041028f2294228e10610b4fca6a1a83ac683d.tar.gz linux-fdd041028f2294228e10610b4fca6a1a83ac683d.tar.bz2 linux-fdd041028f2294228e10610b4fca6a1a83ac683d.zip |
perf/x86/intel/uncore: Factor out topology_gidnid_map()
The same code is used for retrieving package ID procedure from GIDNIDMAP
register. Factor out topology_gidnid_map() to avoid code duplication.
Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20231127185246.2371939-3-alexander.antonov@linux.intel.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions