summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/gcclib.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-20 16:45:32 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-20 16:45:32 +0100
commit3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5 (patch)
tree495ace47f01695acc4effdc8d71e3961689c52e5 /arch/arm/lib/gcclib.h
parentf29481c0e7e55efc25598c1a6c503015cfe45245 (diff)
downloadop-kernel-dev-3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5.zip
op-kernel-dev-3ade2fe0fd0238d68938b8f5f73ebd0561d2d2e5.tar.gz
[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 283f529..8b6dcc6 100644
--- a/arch/arm/lib/gcclib.h
+++ b/arch/arm/lib/gcclib.h
@@ -3,18 +3,20 @@
#include <linux/types.h>
-#define BITS_PER_UNIT 8
-#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT)
+#define BITS_PER_UNIT 8
+#define SI_TYPE_SIZE (sizeof(s32) * BITS_PER_UNIT)
#ifdef __ARMEB__
- struct DIstruct {s32 high, low;};
+struct DIstruct {
+ s32 high, low;
+};
#else
- struct DIstruct {s32 low, high;};
+struct DIstruct {
+ s32 low, high;
+};
#endif
-typedef union
-{
- struct DIstruct s;
- s64 ll;
+typedef union {
+ struct DIstruct s;
+ s64 ll;
} DIunion;
-
OpenPOWER on IntegriCloud