]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/m32r/lib/libgcc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / m32r / lib / libgcc.h
CommitLineData
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
8struct DWstruct {
9 int high, low;
10};
11#elif defined(__LITTLE_ENDIAN)
12struct DWstruct {
13 int low, high;
14};
15#else
16#error I feel sick.
17#endif
18
19typedef union {
20 struct DWstruct s;
21 long long ll;
22} DWunion;
23
24#endif /* __ASM_LIBGCC_H */