summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/stacktrace.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-03-24 14:33:01 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-25 10:22:16 +0100
commit21e2a452dca34538db0731b45c113cfd31aa45e6 (patch)
treeb482e67fd1e132d682cd91d918fe756c24644f7b /arch/sparc/kernel/stacktrace.c
parentee159792a4db06e359a5e2e231c6f1242ec76c31 (diff)
x86/cacheinfo: Properly name amd_cpuid4()'s first parameter
amd_cpuid4()'s first parameter, "leaf", is not a CPUID leaf as the name implies. Rather, it's an index emulating CPUID(4)'s subleaf semantics; i.e. an ID for the cache object currently enumerated. Rename that parameter to "index". Apply minor coding style fixes to the rest of the function as well. [ darwi: Move into a separate commit and write commit log. Use "index" instead of "subleaf" for amd_cpuid4() first param, as that's the name typically used at the whole of cacheinfo.c. ] Signed-off-by: Thomas Gleixner <tglx@linutronix.de> 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: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20250324133324.23458-7-darwi@linutronix.de
Diffstat (limited to 'arch/sparc/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions