diff options
| author | Ahmed S. Darwish <darwi@linutronix.de> | 2025-03-04 09:51:18 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2025-03-04 11:17:33 +0100 |
| commit | 8b7e54b542103753619a37cbb3216849a934872f (patch) | |
| tree | 6f4096d5035e42a26d087be5ad7aca4e4372b146 /arch/x86/xen/smp_pv.c | |
| parent | x86/cpu: Use max() for CPUID leaf 0x2 TLB descriptors parsing (diff) | |
| download | linux-8b7e54b542103753619a37cbb3216849a934872f.tar.gz linux-8b7e54b542103753619a37cbb3216849a934872f.zip | |
x86/cpu: Simplify TLB entry count storage
Commit:
e0ba94f14f74 ("x86/tlb_info: get last level TLB entry number of CPU")
introduced u16 "info" arrays for each TLB type.
Since 2012 and each array stores just one type of information: the
number of TLB entries for its respective TLB type.
Replace such arrays with simple variables.
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250304085152.51092-8-darwi@linutronix.de
Diffstat (limited to 'arch/x86/xen/smp_pv.c')
0 files changed, 0 insertions, 0 deletions
