Skip to content

Commit 195d1a9

Browse files
peter fuerstralfbaechle
authored andcommitted
MIPS: IP28: Change to build with -mr10k-cache-barrier=store
Richard Sandiford's new code for inserting the cache-barriers, for GCC 4.3 and above and already incorporated in the current GCC-release, uses a slightly different option-syntax. Signed-off-by: peter fuerst <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
1 parent 7e9e05c commit 195d1a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/mips/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,12 +473,12 @@ endif
473473
# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys
474474
#
475475
ifdef CONFIG_SGI_IP28
476-
ifeq ($(call cc-option-yn,-mr10k-cache-barrier=1), n)
477-
$(error gcc doesn't support needed option -mr10k-cache-barrier=1)
476+
ifeq ($(call cc-option-yn,-mr10k-cache-barrier=store), n)
477+
$(error gcc doesn't support needed option -mr10k-cache-barrier=store)
478478
endif
479479
endif
480480
core-$(CONFIG_SGI_IP28) += arch/mips/sgi-ip22/
481-
cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=1 -I$(srctree)/arch/mips/include/asm/mach-ip28
481+
cflags-$(CONFIG_SGI_IP28) += -mr10k-cache-barrier=store -I$(srctree)/arch/mips/include/asm/mach-ip28
482482
load-$(CONFIG_SGI_IP28) += 0xa800000020004000
483483

484484
#

0 commit comments

Comments
 (0)