blob: 7d6b8331f8984764e23260eff33d4a13ea09317f [file] [log] [blame]
John Kacur8b40f522009-09-24 18:02:18 +02001#ifndef __PERF_TYPES_H
2#define __PERF_TYPES_H
Paul Mackerras9cffa8d2009-06-19 22:21:42 +10003
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 */
8typedef unsigned long long u64;
9typedef signed long long s64;
10typedef unsigned int u32;
11typedef signed int s32;
12typedef unsigned short u16;
13typedef signed short s16;
14typedef unsigned char u8;
15typedef signed char s8;
16
John Kacur8b40f522009-09-24 18:02:18 +020017#endif /* __PERF_TYPES_H */