[ACPI] 8250_acpi.c buildfix
[pandora-kernel.git] / arch / arm / lib / gcclib.h
1 /* gcclib.h -- definitions for various functions 'borrowed' from gcc-2.95.3 */
2 /* I Molton     29/07/01 */
3
4 #include <linux/types.h>
5
6 #define BITS_PER_UNIT   8
7 #define SI_TYPE_SIZE    (sizeof(s32) * BITS_PER_UNIT)
8
9 #ifdef __ARMEB__
10 struct DIstruct {
11         s32 high, low;
12 };
13 #else
14 struct DIstruct {
15         s32 low, high;
16 };
17 #endif
18
19 typedef union {
20         struct DIstruct s;
21         s64 ll;
22 } DIunion;