]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
a44ce523 SM |
2 | #ifndef __ASM_LIBGCC_H |
3 | #define __ASM_LIBGCC_H | |
4 | ||
5 | #include <asm/byteorder.h> | |
6 | ||
7 | #ifdef __BIG_ENDIAN | |
8 | struct DWstruct { | |
9 | int high, low; | |
10 | }; | |
11 | #elif defined(__LITTLE_ENDIAN) | |
12 | struct DWstruct { | |
13 | int low, high; | |
14 | }; | |
15 | #else | |
16 | #error I feel sick. | |
17 | #endif | |
18 | ||
19 | typedef union { | |
20 | struct DWstruct s; | |
21 | long long ll; | |
22 | } DWunion; | |
23 | ||
24 | #endif /* __ASM_LIBGCC_H */ |