summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-01-22 10:22:10 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-22 10:22:10 +0300
commitb21bae9af1da9b319b5f52ca8fcda76a26cd175a (patch)
tree37f8b04a5433b3a3eadaf94232e8ac820e096e15 /include/asm-generic
parent0854dc81e108c90cccda6d1fc54bc270f16a3cc9 (diff)
parentbb425a7598479fa0f171ec806033c440f218b0ce (diff)
downloadlinux-b21bae9af1da9b319b5f52ca8fcda76a26cd175a.tar.xz
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')
-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__ */