Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Yuntao Wang and committed by
Borislav Petkov (AMD)
c3262d3d 3c41786c

+2 -2
+1 -1
arch/x86/kernel/head_32.S
··· 500 500 int_msg: 501 501 .asciz "Unknown interrupt or fault at: %p %p %p\n" 502 502 503 - #include "../../x86/xen/xen-head.S" 503 + #include "../xen/xen-head.S" 504 504 505 505 /* 506 506 * The IDT and GDT 'descriptors' are a strange 48-bit object
+1 -1
arch/x86/kernel/head_64.S
··· 720 720 SYM_DATA(phys_base, .quad 0x0) 721 721 EXPORT_SYMBOL(phys_base) 722 722 723 - #include "../../x86/xen/xen-head.S" 723 + #include "../xen/xen-head.S" 724 724 725 725 __PAGE_ALIGNED_BSS 726 726 SYM_DATA_START_PAGE_ALIGNED(empty_zero_page)