1 #ifndef _ASM_IO_64_NONATOMIC_HI_LO_H_
2 #define _ASM_IO_64_NONATOMIC_HI_LO_H_
5 #include <asm-generic/int-ll64.h>
8 static inline __u64 readq(const volatile void __iomem *addr)
10 const volatile u32 __iomem *p = addr;
16 return low + ((u64)high << 32);
21 static inline void writeq(__u64 val, volatile void __iomem *addr)
23 writel(val >> 32, addr + 4);
28 #endif /* _ASM_IO_64_NONATOMIC_HI_LO_H_ */