Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_POWERPC_MMIOWB_H
0003 #define _ASM_POWERPC_MMIOWB_H
0004 
0005 #ifdef CONFIG_MMIOWB
0006 
0007 #include <linux/compiler.h>
0008 #include <asm/barrier.h>
0009 #include <asm/paca.h>
0010 
0011 #define arch_mmiowb_state() (&local_paca->mmiowb_state)
0012 #define mmiowb()        mb()
0013 
0014 #endif /* CONFIG_MMIOWB */
0015 
0016 #include <asm-generic/mmiowb.h>
0017 
0018 #endif  /* _ASM_POWERPC_MMIOWB_H */