diff options
author | Tony Luck <[email protected]> | 2024-06-09 17:39:27 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-06-10 08:50:12 +0200 |
commit | f385f024639431bec3e70c33cdbc9563894b3ee5 (patch) | |
tree | 45f19c3681f07e6db6a13574a122e0638d5f9b2e /lib/memory-notifier-error-inject.c | |
parent | 685cb1674060c2cb1b9da051a12933c082b8e874 (diff) |
x86/resctrl: Replace open coded cacheinfo searches
pseudo_lock_region_init() and rdtgroup_cbm_to_size() open code a search for
details of a particular cache level.
Replace with get_cpu_cacheinfo_level().
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions