]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/cacheinfo: Constify _cpuid4_info_regs instances
authorAhmed S. Darwish <darwi@linutronix.de>
Mon, 24 Mar 2025 13:33:03 +0000 (14:33 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 25 Mar 2025 09:22:23 +0000 (10:22 +0100)
commit7b83e0d2b20b38a025d15ba88516c1b8fe9c6f3d
tree39514ded0f13ed7257cfa55332a36783271eb29c
parentcf8758205264707b4521163c0a37bf587c4425c4
x86/cacheinfo: Constify _cpuid4_info_regs instances

_cpuid4_info_regs instances are passed through a large number of
functions at cacheinfo.c.  For clarity, constify the instance parameters
where _cpuid4_info_regs is only read from.

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-9-darwi@linutronix.de
arch/x86/kernel/cpu/cacheinfo.c