]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cacheinfo: Rename CPUID(0x2) descriptors iterator parameter
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 8 May 2025 15:02:35 +0000 (17:02 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 16 May 2025 08:49:55 +0000 (10:49 +0200)
commit4b21e71ad6cc93d39d78176de269a0dc9a318fc6
tree8de069b6559c3b768c940c17883e13917f28b01f
parente7df7289f1481993c9f326aea801323a1d3d0c5f
x86/cacheinfo: Rename CPUID(0x2) descriptors iterator parameter

The CPUID(0x2) descriptors iterator has been renamed from:

    for_each_leaf_0x2_entry()

to:

    for_each_cpuid_0x2_desc()

since it iterates over CPUID(0x2) cache and TLB "descriptors", not
"entries".

In the macro's x86/cacheinfo call-site, rename the parameter denoting the
parsed descriptor at each iteration from 'entry' to 'desc'.

Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/20250508150240.172915-7-darwi@linutronix.de
arch/x86/kernel/cpu/cacheinfo.c