aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/gcclib.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-20 11:45:32 -0400
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-20 11:45:32 -0400
commit3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5 (patch)
tree495ace47f01695acc4effdc8d71e3961689c52e5 /arch/arm/lib/gcclib.h
parentf29481c0e7e55efc25598c1a6c503015cfe45245 (diff)
[PATCH] ARM: Lindent GCC helper functions
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/lib/gcclib.h')
-rw-r--r--arch/arm/lib/gcclib.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/arch/arm/lib/gcclib.h b/arch/arm/lib/gcclib.h
index 283f5294cc3e..8b6dcc656de7 100644
--- a/arch/arm/lib/gcclib.h
+++ b/arch/arm/lib/gcclib.h
@@ -3,18 +3,20 @@
3 3
4#include <linux/types.h> 4#include <linux/types.h>
5 5
6#define BITS_PER_UNIT 8 6#define BITS_PER_UNIT 8
7#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT) 7#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT)
8 8
9#ifdef __ARMEB__ 9#ifdef __ARMEB__
10 struct DIstruct {s32 high, low;}; 10struct DIstruct {
11 s32 high, low;
12};
11#else 13#else
12 struct DIstruct {s32 low, high;}; 14struct DIstruct {
15 s32 low, high;
16};
13#endif 17#endif
14 18
15typedef union 19typedef union {
16{ 20 struct DIstruct s;
17 struct DIstruct s; 21 s64 ll;
18 s64 ll;
19} DIunion; 22} DIunion;
20