You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
439 B
20 lines
439 B
17 years ago
|
#ifndef _ASM_ARM_UNALIGNED_H
|
||
|
#define _ASM_ARM_UNALIGNED_H
|
||
20 years ago
|
|
||
17 years ago
|
#include <linux/unaligned/le_byteshift.h>
|
||
|
#include <linux/unaligned/be_byteshift.h>
|
||
|
#include <linux/unaligned/generic.h>
|
||
20 years ago
|
|
||
|
/*
|
||
|
* Select endianness
|
||
|
*/
|
||
|
#ifndef __ARMEB__
|
||
|
#define get_unaligned __get_unaligned_le
|
||
|
#define put_unaligned __put_unaligned_le
|
||
|
#else
|
||
|
#define get_unaligned __get_unaligned_be
|
||
|
#define put_unaligned __put_unaligned_be
|
||
|
#endif
|
||
|
|
||
17 years ago
|
#endif /* _ASM_ARM_UNALIGNED_H */
|