Skip to content

Commit f8a473b

Browse files
committed
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 <[email protected]>
1 parent de53f3f commit f8a473b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/parisc/kernel/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ CFLAGS_REMOVE_unwind.o = $(CC_FLAGS_FTRACE)
2121
CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)
2222
endif
2323

24+
CFLAGS_REMOVE_sys_parisc.o = -Wmissing-prototypes -Wmissing-declarations
25+
CFLAGS_REMOVE_sys_parisc32.o = -Wmissing-prototypes -Wmissing-declarations
26+
2427
obj-$(CONFIG_SMP) += smp.o
2528
obj-$(CONFIG_PA11) += pci-dma.o
2629
obj-$(CONFIG_PCI) += pci.o

0 commit comments

Comments
 (0)