diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-20 11:45:32 -0400 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-20 11:45:32 -0400 |
commit | 3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5 (patch) | |
tree | 495ace47f01695acc4effdc8d71e3961689c52e5 /arch/arm/lib/gcclib.h | |
parent | f29481c0e7e55efc25598c1a6c503015cfe45245 (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.h | 20 |
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;}; | 10 | struct DIstruct { |
11 | s32 high, low; | ||
12 | }; | ||
11 | #else | 13 | #else |
12 | struct DIstruct {s32 low, high;}; | 14 | struct DIstruct { |
15 | s32 low, high; | ||
16 | }; | ||
13 | #endif | 17 | #endif |
14 | 18 | ||
15 | typedef union | 19 | typedef union { |
16 | { | 20 | struct DIstruct s; |
17 | struct DIstruct s; | 21 | s64 ll; |
18 | s64 ll; | ||
19 | } DIunion; | 22 | } DIunion; |
20 | |||