From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- .../include/asm-generic/io-64-nonatomic-lo-hi.h | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 ANDROID_3.4.5/include/asm-generic/io-64-nonatomic-lo-hi.h (limited to 'ANDROID_3.4.5/include/asm-generic/io-64-nonatomic-lo-hi.h') diff --git a/ANDROID_3.4.5/include/asm-generic/io-64-nonatomic-lo-hi.h b/ANDROID_3.4.5/include/asm-generic/io-64-nonatomic-lo-hi.h deleted file mode 100644 index ca546b1f..00000000 --- a/ANDROID_3.4.5/include/asm-generic/io-64-nonatomic-lo-hi.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef _ASM_IO_64_NONATOMIC_LO_HI_H_ -#define _ASM_IO_64_NONATOMIC_LO_HI_H_ - -#include -#include - -#ifndef readq -static inline __u64 readq(const volatile void __iomem *addr) -{ - const volatile u32 __iomem *p = addr; - u32 low, high; - - low = readl(p); - high = readl(p + 1); - - return low + ((u64)high << 32); -} -#endif - -#ifndef writeq -static inline void writeq(__u64 val, volatile void __iomem *addr) -{ - writel(val, addr); - writel(val >> 32, addr + 4); -} -#endif - -#endif /* _ASM_IO_64_NONATOMIC_LO_HI_H_ */ -- cgit