Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bpf
/
bpf-next
/
a61a257ff51c478e078f0bf8536371f0995e29f9
/
.
/
rust
/
helpers
/
barrier.c
blob: cdf28ce8e5116728c97e24893cf12ef41578d3ac [
file
] [
log
] [
blame
]
// SPDX-License-Identifier: GPL-2.0
#include
<asm/barrier.h>
void
rust_helper_smp_mb
(
void
)
{
smp_mb
();
}
void
rust_helper_smp_wmb
(
void
)
{
smp_wmb
();
}
void
rust_helper_smp_rmb
(
void
)
{
smp_rmb
();
}