[PATCH v3 05/44] x86/cpu/amd: Reorder headers alphabetically
"Ahmed S. Darwish" <[email protected]>
| Newsgroups | dev.linux.lists.x86-cpuid,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The source file uses cpuid_*() macros, but it does not include <asm/cpuid/api.h>. Sort its include lines so that the CPUID header can be included next. Signed-off-by: Ahmed S. Darwish <[email protected]> --- arch/x86/kernel/cpu/amd.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 93da466dfe2c..c988d876b700 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -1,29 +1,29 @@ // SPDX-License-Identifier: GPL-2.0-only -#include <linux/export.h> #include <linux/bitops.h> #include <linux/elf.h> -#include <linux/mm.h> - +#include <linux/export.h> #include <linux/io.h> +#include <linux/mm.h> +#include <linux/random.h> #include <linux/sched.h> #include <linux/sched/clock.h> -#include <linux/random.h> #include <linux/topology.h> + #include <asm/amd/fch.h> -#include <asm/processor.h> #include <asm/apic.h> #include <asm/cacheinfo.h> #include <asm/cpu.h> #include <asm/cpu_device_id.h> -#include <asm/spec-ctrl.h> -#include <asm/smp.h> +#include <asm/debugreg.h> +#include <asm/delay.h> +#include <asm/msr.h> #include <asm/numa.h> #include <asm/pci-direct.h> -#include <asm/delay.h> -#include <asm/debugreg.h> +#include <asm/processor.h> #include <asm/resctrl.h> -#include <asm/msr.h> #include <asm/sev.h> +#include <asm/smp.h> +#include <asm/spec-ctrl.h> #ifdef CONFIG_X86_64 # include <asm/mmconfig.h> -- 2.49.0