summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/include/asm-generic/unaligned.h
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/include/asm-generic/unaligned.h')
-rw-r--r--ANDROID_3.4.5/include/asm-generic/unaligned.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/ANDROID_3.4.5/include/asm-generic/unaligned.h b/ANDROID_3.4.5/include/asm-generic/unaligned.h
deleted file mode 100644
index 03cf5936..00000000
--- a/ANDROID_3.4.5/include/asm-generic/unaligned.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef __ASM_GENERIC_UNALIGNED_H
-#define __ASM_GENERIC_UNALIGNED_H
-
-/*
- * This is the most generic implementation of unaligned accesses
- * and should work almost anywhere.
- *
- * If an architecture can handle unaligned accesses in hardware,
- * it may want to use the linux/unaligned/access_ok.h implementation
- * instead.
- */
-#include <asm/byteorder.h>
-
-#if defined(__LITTLE_ENDIAN)
-# include <linux/unaligned/le_struct.h>
-# include <linux/unaligned/be_byteshift.h>
-# include <linux/unaligned/generic.h>
-# define get_unaligned __get_unaligned_le
-# define put_unaligned __put_unaligned_le
-#elif defined(__BIG_ENDIAN)
-# include <linux/unaligned/be_struct.h>
-# include <linux/unaligned/le_byteshift.h>
-# include <linux/unaligned/generic.h>
-# define get_unaligned __get_unaligned_be
-# define put_unaligned __put_unaligned_be
-#else
-# error need to define endianess
-#endif
-
-#endif /* __ASM_GENERIC_UNALIGNED_H */