Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
avr32
include
asm
unaligned.h
Go to the documentation of this file.
1
#ifndef _ASM_AVR32_UNALIGNED_H
2
#define _ASM_AVR32_UNALIGNED_H
3
4
/*
5
* AVR32 can handle some unaligned accesses, depending on the
6
* implementation. The AVR32 AP implementation can handle unaligned
7
* words, but halfwords must be halfword-aligned, and doublewords must
8
* be word-aligned.
9
*
10
* However, swapped word loads must be word-aligned so we can't
11
* optimize word loads in general.
12
*/
13
14
#include <
linux/unaligned/be_struct.h
>
15
#include <
linux/unaligned/le_byteshift.h
>
16
#include <
linux/unaligned/generic.h
>
17
18
#define get_unaligned __get_unaligned_be
19
#define put_unaligned __put_unaligned_be
20
21
#endif
/* _ASM_AVR32_UNALIGNED_H */
Generated on Thu Jan 10 2013 12:50:47 for Linux Kernel by
1.8.2