diff options
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index d2a56182bc35..cccfdb720e96 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -141,16 +141,6 @@ | |||
141 | /*@}*/ | 141 | /*@}*/ |
142 | 142 | ||
143 | /***********************************************************************/ | 143 | /***********************************************************************/ |
144 | /** \name Backward compatibility section */ | ||
145 | /*@{*/ | ||
146 | |||
147 | #define DRM_RPR_ARG(vma) vma, | ||
148 | |||
149 | #define VM_OFFSET(vma) ((vma)->vm_pgoff << PAGE_SHIFT) | ||
150 | |||
151 | /*@}*/ | ||
152 | |||
153 | /***********************************************************************/ | ||
154 | /** \name Macros to make printk easier */ | 144 | /** \name Macros to make printk easier */ |
155 | /*@{*/ | 145 | /*@{*/ |
156 | 146 | ||
@@ -211,8 +201,6 @@ | |||
211 | /*@{*/ | 201 | /*@{*/ |
212 | 202 | ||
213 | #define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) | 203 | #define DRM_ARRAY_SIZE(x) ARRAY_SIZE(x) |
214 | #define DRM_MIN(a,b) min(a,b) | ||
215 | #define DRM_MAX(a,b) max(a,b) | ||
216 | 204 | ||
217 | #define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) | 205 | #define DRM_LEFTCOUNT(x) (((x)->rp + (x)->count - (x)->wp) % ((x)->count + 1)) |
218 | #define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) | 206 | #define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) |