Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 0967d61ea0d8e8a7826bd8949cd93dd1e829ac55 authored by Linus Torvalds on 06 August 2008, 04:49:54 UTC
Linux 2.6.27-rc2
Tip revision: 0967d61
unaligned.h
#ifndef _ASM_AVR32_UNALIGNED_H
#define _ASM_AVR32_UNALIGNED_H

/*
 * 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.
 */

#include <linux/unaligned/be_struct.h>
#include <linux/unaligned/le_byteshift.h>
#include <linux/unaligned/generic.h>

#define get_unaligned	__get_unaligned_be
#define put_unaligned	__put_unaligned_be

#endif /* _ASM_AVR32_UNALIGNED_H */
back to top