blob: 267aa435bc35ddcfa90c51e1c5192379c4ec0778 [file] [log] [blame]
Sudip Mukherjeea44ce522016-07-26 15:21:23 -07001#ifndef __ASM_LIBGCC_H
2#define __ASM_LIBGCC_H
3
4#include <asm/byteorder.h>
5
6#ifdef __BIG_ENDIAN
7struct DWstruct {
8 int high, low;
9};
10#elif defined(__LITTLE_ENDIAN)
11struct DWstruct {
12 int low, high;
13};
14#else
15#error I feel sick.
16#endif
17
18typedef union {
19 struct DWstruct s;
20 long long ll;
21} DWunion;
22
23#endif /* __ASM_LIBGCC_H */