]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - Makefile
usb: phy: am335x-control: prevent module from being unloaded when in use
[karo-tx-linux.git] / Makefile
index b597e83bce49d8a8b71863a36bc57d18ba55e3ba..b89ca7023b760ed2d181794e74d037a646407218 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -631,6 +631,9 @@ else
 KBUILD_CFLAGS  += -O2
 endif
 
+# Tell gcc to never replace conditional load with a non-conditional one
+KBUILD_CFLAGS  += $(call cc-option,--param=allow-store-data-races=0)
+
 ifdef CONFIG_READABLE_ASM
 # Disable optimizations that make assembler listings hard to read.
 # reorder blocks reorders the control in the function