John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame^] | 1 | #ifndef __PERF_TYPES_H |
| 2 | #define __PERF_TYPES_H |
Paul Mackerras | 9cffa8d | 2009-06-19 22:21:42 +1000 | [diff] [blame] | 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 | |
John Kacur | 8b40f52 | 2009-09-24 18:02:18 +0200 | [diff] [blame^] | 17 | #endif /* __PERF_TYPES_H */ |