mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
048cc2378c
According to Documentation/process/changes.rst, the minimal version of GCC is 5.1, and -mr10k-cache-barrier=store is supported with GCC 5.1 [1], just remove the unnecessary check to fix the build error [2]: arch/mips/sgi-ip22/Platform:28: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop. [1] https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/MIPS-Options.html [2] https://github.com/ClangBuiltLinux/linux/issues/1543 Reported-by: Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> Suggested-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
#
|
|
# SGI IP22 (Indy/Indigo2)
|
|
#
|
|
# Set the load address to >= 0xffffffff88069000 if you want to leave space for
|
|
# symmon, 0xffffffff80002000 for production kernels. Note that the value must
|
|
# be aligned to a multiple of the kernel stack size or the handling of the
|
|
# current variable will break so for 64-bit kernels we have to raise the start
|
|
# address by 8kb.
|
|
#
|
|
cflags-$(CONFIG_SGI_IP22) += -I$(srctree)/arch/mips/include/asm/mach-ip22
|
|
ifdef CONFIG_32BIT
|
|
load-$(CONFIG_SGI_IP22) += 0xffffffff88002000
|
|
endif
|
|
ifdef CONFIG_64BIT
|
|
load-$(CONFIG_SGI_IP22) += 0xffffffff88004000
|
|
endif
|
|
|
|
#
|
|
# SGI IP28 (Indigo2 R10k)
|
|
#
|
|
# Set the load address to >= 0xa800000020080000 if you want to leave space for
|
|
# symmon, 0xa800000020004000 for production kernels ? Note that the value must
|
|
# be 16kb aligned or the handling of the current variable will break.
|
|
# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys
|
|
#
|
|
cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
|
|
load-$(CONFIG_SGI_IP28) += 0xa800000020004000
|