WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / include / asm / mmiowb.h
blob74a00127eb20416e95ec4761c088ec83bab7ae39
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_POWERPC_MMIOWB_H
3 #define _ASM_POWERPC_MMIOWB_H
5 #ifdef CONFIG_MMIOWB
7 #include <linux/compiler.h>
8 #include <asm/barrier.h>
9 #include <asm/paca.h>
11 #define arch_mmiowb_state() (&local_paca->mmiowb_state)
12 #define mmiowb() mb()
14 #endif /* CONFIG_MMIOWB */
16 #include <asm-generic/mmiowb.h>
18 #endif /* _ASM_POWERPC_MMIOWB_H */