Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 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. |
Haavard Skinnemoen | e122eaf | 2007-06-20 15:29:15 +0200 | [diff] [blame] | 9 | * |
| 10 | * However, swapped word loads must be word-aligned so we can't |
| 11 | * optimize word loads in general. |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 12 | */ |
| 13 | |
David Brownell | c6083cd | 2007-05-25 18:47:47 -0700 | [diff] [blame] | 14 | #include <asm-generic/unaligned.h> |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 15 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 16 | #endif /* __ASM_AVR32_UNALIGNED_H */ |