X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fpowerpc%2Finclude%2Fasm%2Fio.h;h=a5257e9b6242956b7131c31f0f54510e734e879a;hb=2d9ca2c72c0fce33052f78f02cdc8ad0a5cf4292;hp=1f12c29ba8351584974052d97d292de57c786cd4;hpb=3e4d27b06d7484040355e22eec2cbce7335d6dab;p=u-boot diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 1f12c29ba8..a5257e9b62 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h @@ -7,7 +7,6 @@ #ifndef _PPC_IO_H #define _PPC_IO_H -#include #include #ifdef CONFIG_ADDR_MAP @@ -124,6 +123,9 @@ static inline void isync(void) #define iobarrier_r() eieio() #define iobarrier_w() eieio() +#define mb() sync() +#define isb() isync() + /* * Non ordered and non-swapping "raw" accessors */