x86/syscalls: Remove -Wno-override-init for syscall tables
authorBrian Gerst <brgerst@gmail.com>
Mon, 24 May 2021 18:17:06 +0000 (14:17 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 25 May 2021 14:59:23 +0000 (16:59 +0200)
Commit 44fe4895f47c ("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 <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20210524181707.132844-3-brgerst@gmail.com
arch/x86/entry/Makefile

index 08bf95d..94d2843 100644 (file)
@@ -17,10 +17,6 @@ CFLAGS_syscall_64.o          += -fno-stack-protector
 CFLAGS_syscall_32.o            += -fno-stack-protector
 CFLAGS_syscall_x32.o           += -fno-stack-protector
 
-CFLAGS_syscall_64.o            += $(call cc-option,-Wno-override-init,)
-CFLAGS_syscall_32.o            += $(call cc-option,-Wno-override-init,)
-CFLAGS_syscall_x32.o           += $(call cc-option,-Wno-override-init,)
-
 obj-y                          := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
 obj-y                          += common.o