Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Geoff Levand and committed by
Paul Mackerras
72d06895 75423b7b

+4
+4
arch/powerpc/boot/types.h
··· 7 7 typedef unsigned short u16; 8 8 typedef unsigned int u32; 9 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 15 #define min(x,y) ({ \ 12 16 typeof(x) _x = (x); \