Files
OrangePi_CM5/include/asm-avr32/unaligned.h
T

21 lines
633 B
C
Raw Normal View History

#ifndef _ASM_AVR32_UNALIGNED_H
#define _ASM_AVR32_UNALIGNED_H
2006-09-25 23:32:13 -07:00
/*
* 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.
*
* However, swapped word loads must be word-aligned so we can't
* optimize word loads in general.
2006-09-25 23:32:13 -07:00
*/
#include <linux/unaligned/be_struct.h>
#include <linux/unaligned/le_byteshift.h>
#include <linux/unaligned/generic.h>
2006-09-25 23:32:13 -07:00
#define get_unaligned __get_unaligned_be
#define put_unaligned __put_unaligned_be
#endif /* _ASM_AVR32_UNALIGNED_H */