x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
PATCH 1/1 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.
--- arch/x86/include/asm/linkage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/linkage.h +1 -1
@@ -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
Signature · 1 line
2.41.0
Quoted 8 lines · Jinghao Jia
The
BUILD_VDSOmacro was incorrectly spelled asBULID_VDSOinasm/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]>
Thanks.
Quoted 17 lines
--- arch/x86/include/asm/linkage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/x86/include/asm/linkage.h +1
-1@@ -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
Signature · 1 line
~Randy
The following commit has been merged into the x86/urgent branch of tip:
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 7324f74d39531262b8e362f228b46512e6bee632 Gitweb: https://git.kernel.org/tip/7324f74d39531262b8e362f228b46512e6bee632 Author: Jinghao Jia <[email protected]> AuthorDate: Tue, 08 Aug 2023 14:23:53 -04:00 Committer: Borislav Petkov (AMD) <[email protected]> CommitterDate: Tue, 08 Aug 2023 23:13:17 +02:00
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.
--- arch/x86/include/asm/linkage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/linkage.h +1 -1
@@ -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