diff options
| author | riastradh <riastradh@NetBSD.org> | 2022-04-09 23:43:30 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2022-04-09 23:43:30 +0000 |
| commit | 8b2342bfe2d0a4d1ef8a0b84e6ceec876e32fcf0 (patch) | |
| tree | 06116e54c49a48f0449fd32a094719511f2aa57b /sys/external/bsd/common/include/linux | |
| parent | 526b97c4a04ce1f136cea3b14be05ca65274bdf6 (diff) | |
linux: Convert various API shims to use membar_release/acquire.
Diffstat (limited to 'sys/external/bsd/common/include/linux')
| -rw-r--r-- | sys/external/bsd/common/include/linux/compiler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/external/bsd/common/include/linux/compiler.h b/sys/external/bsd/common/include/linux/compiler.h index 5f4e8cd2aba..294b577e675 100644 --- a/sys/external/bsd/common/include/linux/compiler.h +++ b/sys/external/bsd/common/include/linux/compiler.h @@ -1,4 +1,4 @@ -/* $NetBSD: compiler.h,v 1.7 2022/02/17 01:21:02 riastradh Exp $ */ +/* $NetBSD: compiler.h,v 1.8 2022/04/09 23:43:31 riastradh Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -80,7 +80,7 @@ #define smp_store_release(X, V) do { \ typeof(X) __smp_store_release_tmp = (V); \ - membar_exit(); \ + membar_release(); \ (X) = __write_once_tmp; \ } while (0) |
