aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJinghao Jia <[email protected]>2023-08-08 18:23:53 +0000
committerBorislav Petkov (AMD) <[email protected]>2023-08-08 21:13:17 +0000
commit7324f74d39531262b8e362f228b46512e6bee632 (patch)
treea016c2b2a16221088580a934b0decbc92dd02394
parentx86/vdso: Choose the right GDT_ENTRY_CPUNODE for 32-bit getcpu() on 64-bit ke... (diff)
downloadkernel-7324f74d39531262b8e362f228b46512e6bee632.tar.gz
kernel-7324f74d39531262b8e362f228b46512e6bee632.zip
x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
The BUILD_VDSO macro was incorrectly spelled as BULID_VDSO in asm/linkage.h. This causes the !defined(BULID_VDSO) directive to always evaluate to true. Correct the spelling to BUILD_VDSO. Fixes: bea75b33895f ("x86/Kconfig: Introduce function padding") Signed-off-by: Jinghao Jia <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Acked-by: Randy Dunlap <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/x86/include/asm/linkage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h
index 0953aa32a324..97a3de7892d3 100644
--- a/arch/x86/include/asm/linkage.h
+++ b/arch/x86/include/asm/linkage.h
@@ -21,7 +21,7 @@
#define FUNCTION_PADDING
#endif
-#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BULID_VDSO)
+#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BUILD_VDSO)
# define __FUNC_ALIGN __ALIGN; FUNCTION_PADDING
#else
# define __FUNC_ALIGN __ALIGN