diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2007-06-15 18:06:28 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-28 05:16:47 -0400 |
commit | 72d068951ca3f5428a3149a604ea626d93eecffe (patch) | |
tree | 2ce2fcc547459c03db4e8309485a0597628b8cc9 /arch/powerpc/boot | |
parent | 75423b7ba5eacc0a003b19e51af6a38feeed43ee (diff) |
[POWERPC] Add signed types to bootwrapper
Add signed types to the powerpc zImage bootwrapper. These are needed by the
PS3 hcall interface.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/types.h b/arch/powerpc/boot/types.h index 79d26e708677..31393d17a9c1 100644 --- a/arch/powerpc/boot/types.h +++ b/arch/powerpc/boot/types.h | |||
@@ -7,6 +7,10 @@ typedef unsigned char u8; | |||
7 | typedef unsigned short u16; | 7 | typedef unsigned short u16; |
8 | typedef unsigned int u32; | 8 | typedef unsigned int u32; |
9 | typedef unsigned long long u64; | 9 | typedef unsigned long long u64; |
10 | typedef signed char s8; | ||
11 | typedef short s16; | ||
12 | typedef int s32; | ||
13 | typedef long long s64; | ||
10 | 14 | ||
11 | #define min(x,y) ({ \ | 15 | #define min(x,y) ({ \ |
12 | typeof(x) _x = (x); \ | 16 | typeof(x) _x = (x); \ |