Skip to content

Commit fd9e869

Browse files
Brian GerstKAGA-KOKO
authored andcommitted
x86/syscalls: Remove -Wno-override-init for syscall tables
Commit 44fe489 ("Stop filling syscall arrays with *_sys_ni_syscall") removes the need for -Wno-override-init, since the table is now filled sequentially instead of overriding a default value. Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d48ca5b commit fd9e869

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/entry/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ CFLAGS_syscall_64.o += -fno-stack-protector
1717
CFLAGS_syscall_32.o += -fno-stack-protector
1818
CFLAGS_syscall_x32.o += -fno-stack-protector
1919

20-
CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,)
21-
CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,)
22-
CFLAGS_syscall_x32.o += $(call cc-option,-Wno-override-init,)
23-
2420
obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
2521
obj-y += common.o
2622

0 commit comments

Comments
 (0)