summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-21 21:36:11 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-21 21:36:11 -0700
commit877296ade051cd45c0c2e0354b9f6765f8030413 (patch)
treebd6d308c697f925d28efcc2bf8eac78f98423bcb
parent1a0775760c0eecbb238f0e928b185c267c1c3783 (diff)
xgi_mem_alloc::offset is a hardware offset, so it should be u32, not long.
-rw-r--r--shared-core/xgi_drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/xgi_drm.h b/shared-core/xgi_drm.h
index 6f50d4e1..da2ea8b9 100644
--- a/shared-core/xgi_drm.h
+++ b/shared-core/xgi_drm.h
@@ -73,7 +73,7 @@ struct xgi_mem_alloc {
/**
* Offset of the allocation in the mapping.
*/
- unsigned long offset;
+ __u32 offset;
};
enum xgi_batch_type {