diff options
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -621,6 +621,9 @@ else | |||
621 | KBUILD_CFLAGS += -O2 | 621 | KBUILD_CFLAGS += -O2 |
622 | endif | 622 | endif |
623 | 623 | ||
624 | # Tell gcc to never replace conditional load with a non-conditional one | ||
625 | KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) | ||
626 | |||
624 | ifdef CONFIG_READABLE_ASM | 627 | ifdef CONFIG_READABLE_ASM |
625 | # Disable optimizations that make assembler listings hard to read. | 628 | # Disable optimizations that make assembler listings hard to read. |
626 | # reorder blocks reorders the control in the function | 629 | # reorder blocks reorders the control in the function |