summaryrefslogtreecommitdiff
path: root/overlay/gem-objects.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-24 12:37:59 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-25 13:34:31 +0100
commita932c73ab7b0e768ceb723ec280847e55c5cf495 (patch)
tree5c36b01199344f002ec9a43550e48544c6ad4d0c /overlay/gem-objects.h
parent68c63ddd36bc8e5379bf9573c24894246f5d0aa7 (diff)
overlay: simplify types for object counts for 32/64bit porting
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'overlay/gem-objects.h')
-rw-r--r--overlay/gem-objects.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/overlay/gem-objects.h b/overlay/gem-objects.h
index 45cc1a67..2019ad4d 100644
--- a/overlay/gem-objects.h
+++ b/overlay/gem-objects.h
@@ -28,15 +28,14 @@
#include <stdint.h>
struct gem_objects {
- uint64_t total_bytes;
- uint32_t total_count;
- uint64_t total_gtt, total_aperture;
- uint64_t max_gtt, max_aperture;
+ long unsigned total_bytes, total_count;
+ long unsigned total_gtt, total_aperture;
+ long unsigned max_gtt, max_aperture;
struct gem_objects_comm {
struct gem_objects_comm *next;
char name[256];
- uint64_t bytes;
- uint32_t count;
+ long unsigned bytes;
+ long unsigned count;
} *comm;
};