2 * Copyright (C) 2008 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2006 Atmark Techno, Inc.
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
10 #ifndef _ASM_MICROBLAZE_UNALIGNED_H
11 #define _ASM_MICROBLAZE_UNALIGNED_H
15 # include <linux/unaligned/be_byteshift.h>
16 # include <linux/unaligned/le_byteshift.h>
17 # include <linux/unaligned/generic.h>
20 # ifdef __MICROBLAZEEL__
21 # define get_unaligned __get_unaligned_le
22 # define put_unaligned __put_unaligned_le
24 # define get_unaligned __get_unaligned_be
25 # define put_unaligned __put_unaligned_be
28 # endif /* __KERNEL__ */
29 #endif /* _ASM_MICROBLAZE_UNALIGNED_H */