xgi_mem_alloc::offset is a hardware offset, so it should be u32, not long.
authorIan Romanick <idr@us.ibm.com>
Sun, 22 Jul 2007 04:36:11 +0000 (21:36 -0700)
committerIan Romanick <idr@us.ibm.com>
Sun, 22 Jul 2007 04:36:11 +0000 (21:36 -0700)
shared-core/xgi_drm.h

index 6f50d4e..da2ea8b 100644 (file)
@@ -73,7 +73,7 @@ struct xgi_mem_alloc {
        /**
         * Offset of the allocation in the mapping.
         */
-       unsigned long offset;
+       __u32 offset;
 };
 
 enum xgi_batch_type {