summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-01-01 11:30:38 +1100
committerDave Airlie <airlied@linux.ie>2007-01-01 11:30:38 +1100
commit2dcbf6a59918761cffb27e027b1235c551ed03dd (patch)
treec7e61174697f1430af6bd2871200cbbd9e5f467c /linux-core/drmP.h
parent87faf62fae711c8337793abaf0f529f2660245db (diff)
make build against 2.6.20 hopefully
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 77212d1c..ecb03181 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -794,7 +794,11 @@ typedef struct drm_buffer_manager{
struct list_head pinned[DRM_BO_MEM_TYPES];
struct list_head unfenced;
struct list_head ddestroy;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
struct work_struct wq;
+#else
+ struct delayed_work wq;
+#endif
uint32_t fence_type;
unsigned long cur_pages;
atomic_t count;