[PATCH v3 03/44] x86/boot: Reorder sme.c 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/boot/startup/sme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/boot/startup/sme.c b/arch/x86/boot/startup/sme.c index 70ea1748c0a7..922b236be02f 100644 --- a/arch/x86/boot/startup/sme.c +++ b/arch/x86/boot/startup/sme.c @@ -34,15 +34,15 @@ */ #define USE_EARLY_PGTABLE_L5 +#include <linux/cc_platform.h> #include <linux/kernel.h> -#include <linux/mm.h> #include <linux/mem_encrypt.h> -#include <linux/cc_platform.h> +#include <linux/mm.h> +#include <asm/coco.h> #include <asm/init.h> -#include <asm/setup.h> #include <asm/sections.h> -#include <asm/coco.h> +#include <asm/setup.h> #include <asm/sev.h> #define PGD_FLAGS _KERNPG_TABLE_NOENC -- 2.49.0