summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/Makefile
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-07-03 18:43:13 +0200
committerHelge Deller <deller@gmx.de>2023-07-03 18:56:03 +0200
commitf8a473bf5db7a6abaa7cad40303e395dff702819 (patch)
treea77e78c2a9070cf358b9ce50bd3fdf1189d5bfb0 /arch/parisc/kernel/Makefile
parentde53f3f7a9ffb8a24c3382aa41e24666c28f0368 (diff)
parisc: syscalls: Avoid compiler warnings with W=1
We do not want to add prototypes for all parisc specific syscalls, so simply drop such warnings when building the kernel. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/Makefile')
-rw-r--r--arch/parisc/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/parisc/kernel/Makefile b/arch/parisc/kernel/Makefile
index 3d138c9cf9ce..2d1478fc4aa5 100644
--- a/arch/parisc/kernel/Makefile
+++ b/arch/parisc/kernel/Makefile
@@ -21,6 +21,9 @@ CFLAGS_REMOVE_unwind.o = $(CC_FLAGS_FTRACE)
CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)
endif
+CFLAGS_REMOVE_sys_parisc.o = -Wmissing-prototypes -Wmissing-declarations
+CFLAGS_REMOVE_sys_parisc32.o = -Wmissing-prototypes -Wmissing-declarations
+
obj-$(CONFIG_SMP) += smp.o
obj-$(CONFIG_PA11) += pci-dma.o
obj-$(CONFIG_PCI) += pci.o