Skip to contentSkip to conversation

x86/entry: Fix build error x86 with !CONFIG_POSIX_TIMERS

PATCH Applied Brian Gerst 2 participants 2 messages Mar 24, 2020 – Mar 25, 2020 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/entry: Fix build error x86 with !CONFIG_POSIX_TIMERS

Add missing semicolon.

Fixes a74d187c2df3 ("x86/entry: Refactor SYS_NI macros")
---
 arch/x86/include/asm/syscall_wrapper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/syscall_wrapper.h +1 -1
index e10efa1454bc..a84333adeef2 100644
@@ -86,7 +86,7 @@ extern long __ia32_sys_ni_syscall(const struct pt_regs *regs);
 	}
 
 #define __SYS_NI(abi, name)						\
-	SYSCALL_ALIAS(__##abi##_##name, sys_ni_posix_timers)
+	SYSCALL_ALIAS(__##abi##_##name, sys_ni_posix_timers);
 
 #ifdef CONFIG_X86_64
 #define __X64_SYS_STUB0(name)						\
Signature · 1 line
2.25.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/entry branch of tip:

The following commit has been merged into the x86/entry branch of tip:

Commit-ID:     290a4474d019c7e49c186100e157fff5e273ab3b
Gitweb:        https://git.kernel.org/tip/290a4474d019c7e49c186100e157fff5e273ab3b
Author:        Brian Gerst <[email protected]>
AuthorDate:    Tue, 24 Mar 2020 10:35:20 -04:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 25 Mar 2020 10:06:20 +01:00

x86/entry: Fix build error x86 with !CONFIG_POSIX_TIMERS

Add missing semicolon.

Fixes a74d187c2df3 ("x86/entry: Refactor SYS_NI macros")
---
 arch/x86/include/asm/syscall_wrapper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/syscall_wrapper.h +1 -1
index e10efa1..a84333a 100644
@@ -86,7 +86,7 @@ extern long __ia32_sys_ni_syscall(const struct pt_regs *regs);
 	}
 
 #define __SYS_NI(abi, name)						\
-	SYSCALL_ALIAS(__##abi##_##name, sys_ni_posix_timers)
+	SYSCALL_ALIAS(__##abi##_##name, sys_ni_posix_timers);
 
 #ifdef CONFIG_X86_64
 #define __X64_SYS_STUB0(name)						\