Merge branch 'i2c/for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
[sfrench/cifs-2.6.git] / arch / m32r / lib / libgcc.h
1 #ifndef __ASM_LIBGCC_H
2 #define __ASM_LIBGCC_H
3
4 #include <asm/byteorder.h>
5
6 #ifdef __BIG_ENDIAN
7 struct DWstruct {
8         int high, low;
9 };
10 #elif defined(__LITTLE_ENDIAN)
11 struct DWstruct {
12         int low, high;
13 };
14 #else
15 #error I feel sick.
16 #endif
17
18 typedef union {
19         struct DWstruct s;
20         long long ll;
21 } DWunion;
22
23 #endif /* __ASM_LIBGCC_H */