2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org)
8 #ifndef __ASM_GENERIC_UNALIGNED_H
9 #define __ASM_GENERIC_UNALIGNED_H
11 #include <linux/compiler.h>
13 #define get_unaligned(ptr) \
17 } *__p = (void *) (ptr); \
21 #define put_unaligned(val, ptr) \
25 } *__p = (void *) (ptr); \
29 #endif /* __ASM_GENERIC_UNALIGNED_H */