summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/barrier.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-01-22 08:22:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-22 08:22:10 +0100
commitb21bae9af1da9b319b5f52ca8fcda76a26cd175a (patch)
tree37f8b04a5433b3a3eadaf94232e8ac820e096e15 /include/asm-generic/barrier.h
parentMerge tag 'docs-5.17-2' of git://git.lwn.net/linux (diff)
parentarm64: mm: apply __ro_after_init to memory_limit (diff)
downloadlinux-b21bae9af1da9b319b5f52ca8fcda76a26cd175a.tar.xz
linux-b21bae9af1da9b319b5f52ca8fcda76a26cd175a.zip
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes/cleanups from Catalin Marinas: "Some fixes that turned up during the merge window: - Add brackets to the io_stop_wc macro - Avoid -Warray-bounds warning with the LSE atomics inline asm - Apply __ro_after_init to memory_limit" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: mm: apply __ro_after_init to memory_limit arm64: atomics: lse: Dereference matching size asm-generic: Add missing brackets for io_stop_wc macro
Diffstat (limited to 'include/asm-generic/barrier.h')
-rw-r--r--include/asm-generic/barrier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/barrier.h b/include/asm-generic/barrier.h
index 3d503e74037f..fd7e8fbaeef1 100644
--- a/include/asm-generic/barrier.h
+++ b/include/asm-generic/barrier.h
@@ -285,7 +285,7 @@ do { \
* write-combining memory accesses before this macro with those after it.
*/
#ifndef io_stop_wc
-#define io_stop_wc do { } while (0)
+#define io_stop_wc() do { } while (0)
#endif
#endif /* !__ASSEMBLY__ */