]> Git Repo - linux.git/blob - arch/riscv/include/asm/mmiowb.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / riscv / include / asm / mmiowb.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #ifndef _ASM_RISCV_MMIOWB_H
4 #define _ASM_RISCV_MMIOWB_H
5
6 /*
7  * "o,w" is sufficient to ensure that all writes to the device have completed
8  * before the write to the spinlock is allowed to commit.
9  */
10 #define mmiowb()        __asm__ __volatile__ ("fence o,w" : : : "memory");
11
12 #include <linux/smp.h>
13 #include <asm-generic/mmiowb.h>
14
15 #endif  /* _ASM_RISCV_MMIOWB_H */
This page took 0.04026 seconds and 4 git commands to generate.