summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2023-12-31 20:19:04 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-25 15:24:10 +0100
commitc3262d3d19d2d42705334e40d9c731c2a5df9eb5 (patch)
treeb3cd92b500c132f9a8fb663bb615986ed22aeb7e /arch
parent3c41786cab885f9c542e89f624bcdb71187dbb75 (diff)
downloadlinux-stable-c3262d3d19d2d42705334e40d9c731c2a5df9eb5.tar.gz
linux-stable-c3262d3d19d2d42705334e40d9c731c2a5df9eb5.tar.bz2
linux-stable-c3262d3d19d2d42705334e40d9c731c2a5df9eb5.zip
x86/head: Simplify relative include path to xen-head.S
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
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/head_32.S2
-rw-r--r--arch/x86/kernel/head_64.S2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index b50f3641c4d6..78a65703e411 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -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
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index d8198fbd70e5..2f8a59468504 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -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)