Paul Mackerras | 9cffa8d | 2009-06-19 22:21:42 +1000 | [diff] [blame^] | 1 | #ifndef _PERF_TYPES_H |
2 | #define _PERF_TYPES_H | ||||
3 | |||||
4 | /* | ||||
5 | * We define u64 as unsigned long long for every architecture | ||||
6 | * so that we can print it with %Lx without getting warnings. | ||||
7 | */ | ||||
8 | typedef unsigned long long u64; | ||||
9 | typedef signed long long s64; | ||||
10 | typedef unsigned int u32; | ||||
11 | typedef signed int s32; | ||||
12 | typedef unsigned short u16; | ||||
13 | typedef signed short s16; | ||||
14 | typedef unsigned char u8; | ||||
15 | typedef signed char s8; | ||||
16 | |||||
17 | #endif /* _PERF_TYPES_H */ |