aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/Makefile2
-rw-r--r--arch/mips/mm/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index f10e1e15e1c6..eb92e52eb3db 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -2,6 +2,8 @@
#
# Makefile for the Linux/MIPS kernel.
#
+CFLAGS_signal.o += $(call cc-disable-warning, attribute-alias)
+CFLAGS_syscall.o += $(call cc-disable-warning, attribute-alias)
extra-y := head.o vmlinux.lds
diff --git a/arch/mips/mm/Makefile b/arch/mips/mm/Makefile
index c463bdad45c7..b7f9ef80dac7 100644
--- a/arch/mips/mm/Makefile
+++ b/arch/mips/mm/Makefile
@@ -2,6 +2,7 @@
#
# Makefile for the Linux/MIPS-specific parts of the memory manager.
#
+CFLAGS_cache.o += $(call cc-disable-warning, attribute-alias)
obj-y += cache.o dma-default.o extable.o fault.o \
gup.o init.o mmap.o page.o page-funcs.o \