X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-sh64%2Fio.h;h=27032070c111f7b027c6df687680ebc29ac41add;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=8e99f5ba3c1127a2ca2e027e91a022806067e642;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sh64/io.h b/include/asm-sh64/io.h index 8e99f5ba3..27032070c 100644 --- a/include/asm-sh64/io.h +++ b/include/asm-sh64/io.h @@ -86,6 +86,9 @@ static inline void sh64_out64(unsigned long long b, unsigned long addr) #define readb(addr) sh64_in8(addr) #define readw(addr) sh64_in16(addr) #define readl(addr) sh64_in32(addr) +#define readb_relaxed(addr) sh64_in8(addr) +#define readw_relaxed(addr) sh64_in16(addr) +#define readl_relaxed(addr) sh64_in32(addr) #define writeb(b, addr) sh64_out8(b, addr) #define writew(b, addr) sh64_out16(b, addr) @@ -106,6 +109,8 @@ void outb(unsigned long value, unsigned long port); void outw(unsigned long value, unsigned long port); void outl(unsigned long value, unsigned long port); +#define mmiowb() + #ifdef __KERNEL__ #ifdef CONFIG_SH_CAYMAN