X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Fpowerpc%2Finclude%2Fasm%2Fio.h;h=a5257e9b6242956b7131c31f0f54510e734e879a;hb=f4e7e2d12164c3235c3f5e19a68a503623029d35;hp=9e208618d94d9d7d29c34b20ea3227e9be3f94fb;hpb=5675b509165b67465a20e5cf71e07f40b449ef0c;p=u-boot diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 9e208618d9..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,10 +123,12 @@ 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 */ -#define __iomem #define PCI_FIX_ADDR(addr) (addr) static inline unsigned char __raw_readb(const volatile void __iomem *addr)