Merge branch 'nvmf-4.8-rc' of git://git.infradead.org/nvme-fabrics into for-linus
[deliverable/linux.git] / arch / microblaze / include / asm / unaligned.h
CommitLineData
4b87d7a4
MS
1/*
2 * Copyright (C) 2008 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2006 Atmark Techno, Inc.
4 *
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
7 * for more details.
8 */
9
10#ifndef _ASM_MICROBLAZE_UNALIGNED_H
11#define _ASM_MICROBLAZE_UNALIGNED_H
12
13# ifdef __KERNEL__
14
02b08045 15# ifdef __MICROBLAZEEL__
60114977
MS
16# include <linux/unaligned/le_struct.h>
17# include <linux/unaligned/be_byteshift.h>
02b08045
MS
18# define get_unaligned __get_unaligned_le
19# define put_unaligned __put_unaligned_le
20# else
60114977
MS
21# include <linux/unaligned/be_struct.h>
22# include <linux/unaligned/le_byteshift.h>
02b08045
MS
23# define get_unaligned __get_unaligned_be
24# define put_unaligned __put_unaligned_be
25# endif
4b87d7a4 26
60114977
MS
27# include <linux/unaligned/generic.h>
28
4b87d7a4
MS
29# endif /* __KERNEL__ */
30#endif /* _ASM_MICROBLAZE_UNALIGNED_H */
This page took 0.476178 seconds and 5 git commands to generate.