xref: /kernel/linux/linux-5.10/arch/powerpc/include/asm/mmiowb.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/powerpc/include/asm/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASM_POWERPC_MMIOWB_H
38c2ecf20Sopenharmony_ci#define _ASM_POWERPC_MMIOWB_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifdef CONFIG_MMIOWB
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#include <linux/compiler.h>
88c2ecf20Sopenharmony_ci#include <asm/barrier.h>
98c2ecf20Sopenharmony_ci#include <asm/paca.h>
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define arch_mmiowb_state()	(&local_paca->mmiowb_state)
128c2ecf20Sopenharmony_ci#define mmiowb()		mb()
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#endif /* CONFIG_MMIOWB */
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#include <asm-generic/mmiowb.h>
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif	/* _ASM_POWERPC_MMIOWB_H */
19

Indexes created Thu Nov 07 10:32:03 CST 2024