Revert "Revert "CONFIG_ARCH_HAS_BARRIERS""

This reverts commit 69977ce65d166a1311c72727967f21442c1252f2.