x86/head: Simplify relative include path to xen-head.S
authorYuntao Wang <ytcoode@gmail.com>
Sun, 31 Dec 2023 12:19:04 +0000 (20:19 +0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 25 Mar 2024 14:24:10 +0000 (15:24 +0100)
Fix the relative path specification in the include directives adding
xen-head.S to the kernel's head_*.S files since they both have
"arch/x86/" as prefix.

  [ bp: Rewrite commit message. ]

Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20231231121904.24622-1-ytcoode@gmail.com
arch/x86/kernel/head_32.S
arch/x86/kernel/head_64.S

index b50f3641c4d6de0d576efca319432640cf83cd08..78a65703e4112221bf519c757f36aec5a8b94dbd 100644 (file)
@@ -500,7 +500,7 @@ __INITRODATA
 int_msg:
        .asciz "Unknown interrupt or fault at: %p %p %p\n"
 
-#include "../../x86/xen/xen-head.S"
+#include "../xen/xen-head.S"
 
 /*
  * The IDT and GDT 'descriptors' are a strange 48-bit object
index d8198fbd70e54ea9da8355614b7b05963acb6cdf..2f8a59468504613a51a19066c64f1968554c81c4 100644 (file)
@@ -720,7 +720,7 @@ SYM_DATA(smpboot_control,           .long 0)
 SYM_DATA(phys_base, .quad 0x0)
 EXPORT_SYMBOL(phys_base)
 
-#include "../../x86/xen/xen-head.S"
+#include "../xen/xen-head.S"
 
        __PAGE_ALIGNED_BSS
 SYM_DATA_START_PAGE_ALIGNED(empty_zero_page)