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.
22 lines
633 B
22 lines
633 B
17 years ago
|
#ifndef _ASM_AVR32_UNALIGNED_H
|
||
|
#define _ASM_AVR32_UNALIGNED_H
|
||
19 years ago
|
|
||
|
/*
|
||
|
* AVR32 can handle some unaligned accesses, depending on the
|
||
|
* implementation. The AVR32 AP implementation can handle unaligned
|
||
|
* words, but halfwords must be halfword-aligned, and doublewords must
|
||
|
* be word-aligned.
|
||
18 years ago
|
*
|
||
|
* However, swapped word loads must be word-aligned so we can't
|
||
|
* optimize word loads in general.
|
||
19 years ago
|
*/
|
||
|
|
||
17 years ago
|
#include <linux/unaligned/be_struct.h>
|
||
|
#include <linux/unaligned/le_byteshift.h>
|
||
|
#include <linux/unaligned/generic.h>
|
||
19 years ago
|
|
||
17 years ago
|
#define get_unaligned __get_unaligned_be
|
||
|
#define put_unaligned __put_unaligned_be
|
||
|
|
||
|
#endif /* _ASM_AVR32_UNALIGNED_H */
|