diff options
Diffstat (limited to 'arch/powerpc/boot/types.h')
-rw-r--r-- | arch/powerpc/boot/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/boot/types.h b/arch/powerpc/boot/types.h index 31393d17a..85565a89b 100644 --- a/arch/powerpc/boot/types.h +++ b/arch/powerpc/boot/types.h @@ -12,6 +12,16 @@ typedef short s16; typedef int s32; typedef long long s64; +/* required for opal-api.h */ +typedef u8 uint8_t; +typedef u16 uint16_t; +typedef u32 uint32_t; +typedef u64 uint64_t; +typedef s8 int8_t; +typedef s16 int16_t; +typedef s32 int32_t; +typedef s64 int64_t; + #define min(x,y) ({ \ typeof(x) _x = (x); \ typeof(y) _y = (y); \ |