From 9914f4cf6057957bd77f1c1b0b9957537eafdfb9 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Mon, 19 Mar 2001 12:04:12 +0000 Subject: Remove PRIMPTR completely. --- linux/drmP.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'linux/drmP.h') diff --git a/linux/drmP.h b/linux/drmP.h index a7e4d573..274e318a 100644 --- a/linux/drmP.h +++ b/linux/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; \ } \ } \ -- cgit v1.2.3