]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/m32r/lib/libgcc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / m32r / lib / libgcc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
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 */