mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-04 18:03:24 +00:00
There is some code in mtrr.c which is relevant for old 32-bit CPUs only. Move it to a new source legacy.c. While modifying mtrr_init_finalize() fix spelling of its name. Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Juergen Gross <jgross@suse.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Tested-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/20230502120931.20719-9-jgross@suse.com Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
5 lines
140 B
Makefile
5 lines
140 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y := mtrr.o if.o generic.o cleanup.o
|
|
obj-$(CONFIG_X86_32) += amd.o cyrix.o centaur.o legacy.o
|
|
|