1
2
3
4
5
6
7
8
9
10 #ifndef _ASM_MICROBLAZE_UNALIGNED_H
11 #define _ASM_MICROBLAZE_UNALIGNED_H
12
13 # ifdef __KERNEL__
14
15 # ifdef __MICROBLAZEEL__
16 # include <linux/unaligned/le_struct.h>
17 # include <linux/unaligned/be_byteshift.h>
18 # define get_unaligned __get_unaligned_le
19 # define put_unaligned __put_unaligned_le
20 # else
21 # include <linux/unaligned/be_struct.h>
22 # include <linux/unaligned/le_byteshift.h>
23 # define get_unaligned __get_unaligned_be
24 # define put_unaligned __put_unaligned_be
25 # endif
26
27 # include <linux/unaligned/generic.h>
28
29 # endif
30 #endif