blob: d644df7526777c6fbb6eba3a50892df575eb102e [file] [log] [blame]
Simon Kagstrom7b0565d2009-07-07 15:58:51 +02001#ifndef _ASM_ARM_UNALIGNED_H
2#define _ASM_ARM_UNALIGNED_H
3
4#include <linux/unaligned/access_ok.h>
5#include <linux/unaligned/generic.h>
6
7/*
8 * Select endianness
9 */
10#ifndef __ARMEB__
11#define get_unaligned __get_unaligned_le
12#define put_unaligned __put_unaligned_le
13#else
14#define get_unaligned __get_unaligned_be
15#define put_unaligned __put_unaligned_be
16#endif
17
18#endif /* _ASM_ARM_UNALIGNED_H */