aboutsummaryrefslogtreecommitdiff
path: root/arch/cris/include/asm/unaligned.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-11-08 20:23:02 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-08 20:23:02 +0100
commit895e031707954a9ca26ed4f5f794575313854ed1 (patch)
treeec7cd5515f346e6f94bc43e63d55ebc8ddf4173d /arch/cris/include/asm/unaligned.h
parent838e8bb71dc0c892bf8f84abd3c709d8fe3a8d3c (diff)
parenta622cf69b806bbb1887913c04e01d0c25b892876 (diff)
Merge branch 'linus' into x86/cleanups
Diffstat (limited to 'arch/cris/include/asm/unaligned.h')
-rw-r--r--arch/cris/include/asm/unaligned.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/cris/include/asm/unaligned.h b/arch/cris/include/asm/unaligned.h
new file mode 100644
index 00000000000..7b3f3fec567
--- /dev/null
+++ b/arch/cris/include/asm/unaligned.h
@@ -0,0 +1,13 @@
+#ifndef _ASM_CRIS_UNALIGNED_H
+#define _ASM_CRIS_UNALIGNED_H
+
+/*
+ * CRIS can do unaligned accesses itself.
+ */
+#include <linux/unaligned/access_ok.h>
+#include <linux/unaligned/generic.h>
+
+#define get_unaligned __get_unaligned_le
+#define put_unaligned __put_unaligned_le
+
+#endif /* _ASM_CRIS_UNALIGNED_H */