[U-Boot] [PATCH 3/3] ARM: add unaligned macros

Daniel Mack daniel at caiaq.de
Thu Jun 4 12:27:21 CEST 2009


Signed-off-by: Daniel Mack <daniel at caiaq.de>
---
 include/asm-arm/unaligned.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 include/asm-arm/unaligned.h

diff --git a/include/asm-arm/unaligned.h b/include/asm-arm/unaligned.h
new file mode 100644
index 0000000..dd7d852
--- /dev/null
+++ b/include/asm-arm/unaligned.h
@@ -0,0 +1,14 @@
+#ifndef _ASM_ARM_UNALIGNED_H
+#define _ASM_ARM_UNALIGNED_H
+
+#ifdef __KERNEL__
+
+#include <linux/unaligned/access_ok.h>
+#include <linux/unaligned/generic.h>
+
+#define get_unaligned	__get_unaligned_le
+#define put_unaligned	__put_unaligned_le
+
+#endif	/* __KERNEL__ */
+#endif	/* _ASM_ARM_UNALIGNED_H */
+
-- 
1.6.3.1



More information about the U-Boot mailing list