summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorGareth Hughes <gareth@users.sourceforge.net>2001-03-19 12:04:12 +0000
committerGareth Hughes <gareth@users.sourceforge.net>2001-03-19 12:04:12 +0000
commit9914f4cf6057957bd77f1c1b0b9957537eafdfb9 (patch)
treef67206c150b7eb53e6a9570023354c793f1b4027 /linux-core/drmP.h
parentd15f98443295feeb4e3bd65b26f43c73d655e26e (diff)
Remove PRIMPTR completely.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index a7e4d573..274e318a 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -333,12 +333,11 @@ static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
#define DRM_FIND_MAP(_map, _o) \
do { \
struct list_head *_list; \
- list_for_each(_list, &dev->maplist->head) { \
- drm_map_list_t *_r_list; \
- _r_list = (drm_map_list_t *)_list; \
- if(_r_list->map && \
- _r_list->map->offset == (_o)) { \
- (_map) = _r_list->map; \
+ list_for_each( _list, &dev->maplist->head ) { \
+ drm_map_list_t *_entry = (drm_map_list_t *)_list; \
+ if ( _entry->map && \
+ _entry->map->offset == (_o) ) { \
+ (_map) = _entry->map; \
break; \
} \
} \