aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/libgcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/libgcc.h')
-rw-r--r--arch/sparc/lib/libgcc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/sparc/lib/libgcc.h b/arch/sparc/lib/libgcc.h
new file mode 100644
index 000000000000..b84fd797f3ea
--- /dev/null
+++ b/arch/sparc/lib/libgcc.h
@@ -0,0 +1,18 @@
1#ifndef __ASM_LIBGCC_H
2#define __ASM_LIBGCC_H
3
4#include <asm/byteorder.h>
5
6typedef int word_type __attribute__ ((mode (__word__)));
7
8struct DWstruct {
9 int high, low;
10};
11
12typedef union
13{
14 struct DWstruct s;
15 long long ll;
16} DWunion;
17
18#endif /* __ASM_LIBGCC_H */