Sign in
linux
/
linux
/
kernel
/
git
/
dhowells
/
linux-fs
/
refs/heads/netfs-crypt
/
.
/
rust
/
helpers
/
barrier.c
blob: fed8853745c83639c32f79335e40b9494db11e98 [
file
] [
log
] [
blame
] [
edit
]
// SPDX-License-Identifier: GPL-2.0
#include
<asm/barrier.h>
__rust_helper
void
rust_helper_smp_mb
(
void
)
{
smp_mb
();
}
__rust_helper
void
rust_helper_smp_wmb
(
void
)
{
smp_wmb
();
}
__rust_helper
void
rust_helper_smp_rmb
(
void
)
{
smp_rmb
();
}