2019-02-22 21:37:21 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
|
|
|
|
#ifndef _ASM_IA64_MMIOWB_H
|
|
|
|
#define _ASM_IA64_MMIOWB_H
|
|
|
|
|
|
|
|
/**
|
2019-08-13 15:25:02 +08:00
|
|
|
* mmiowb - I/O write barrier
|
2019-02-22 21:37:21 +08:00
|
|
|
*
|
|
|
|
* Ensure ordering of I/O space writes. This will make sure that writes
|
|
|
|
* following the barrier will arrive after all previous writes. For most
|
|
|
|
* ia64 platforms, this is a simple 'mf.a' instruction.
|
|
|
|
*/
|
2019-08-13 15:25:02 +08:00
|
|
|
#define mmiowb() ia64_mfa()
|
2019-02-22 21:37:21 +08:00
|
|
|
|
|
|
|
#include <asm-generic/mmiowb.h>
|
|
|
|
|
|
|
|
#endif /* _ASM_IA64_MMIOWB_H */
|