aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/gcclib.h
blob: 8b6dcc656de779c3b2d030f0577238fe59e41954 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */
/* I Molton     29/07/01 */

#include <linux/types.h>

#define BITS_PER_UNIT	8
#define SI_TYPE_SIZE	(sizeof(s32) * BITS_PER_UNIT)

#ifdef __ARMEB__
struct DIstruct {
	s32 high, low;
};
#else
struct DIstruct {
	s32 low, high;
};
#endif

typedef union {
	struct DIstruct s;
	s64 ll;
} DIunion;