summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/types.h
diff options
context:
space:
mode:
authorGeoff Levand2007-06-16 00:06:28 +0200
committerPaul Mackerras2007-06-28 11:16:47 +0200
commit72d068951ca3f5428a3149a604ea626d93eecffe (patch)
tree2ce2fcc547459c03db4e8309485a0597628b8cc9 /arch/powerpc/boot/types.h
parent[POWERPC] Correct __secondary_hold comment (diff)
downloadkernel-qcow2-linux-72d068951ca3f5428a3149a604ea626d93eecffe.tar.gz
kernel-qcow2-linux-72d068951ca3f5428a3149a604ea626d93eecffe.tar.xz
kernel-qcow2-linux-72d068951ca3f5428a3149a604ea626d93eecffe.zip
[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/types.h')
-rw-r--r--arch/powerpc/boot/types.h4
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;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
+typedef signed char s8;
+typedef short s16;
+typedef int s32;
+typedef long long s64;
#define min(x,y) ({ \
typeof(x) _x = (x); \