drm: fix warnings about new mappings in info code.

This fixes up the warnings in the debugfs code that conflicted
with the mapping fixups.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie 2009-03-09 12:47:18 +10:00
Родитель 8f497aade8
Коммит 1847a549ac
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -72,7 +72,7 @@ int drm_vm_info(struct seq_file *m, void *data)
{ {
struct drm_info_node *node = (struct drm_info_node *) m->private; struct drm_info_node *node = (struct drm_info_node *) m->private;
struct drm_device *dev = node->minor->dev; struct drm_device *dev = node->minor->dev;
struct drm_map *map; struct drm_local_map *map;
struct drm_map_list *r_list; struct drm_map_list *r_list;
/* Hardcoded from _DRM_FRAME_BUFFER, /* Hardcoded from _DRM_FRAME_BUFFER,
@ -94,9 +94,9 @@ int drm_vm_info(struct seq_file *m, void *data)
else else
type = types[map->type]; type = types[map->type];
seq_printf(m, "%4d 0x%08lx 0x%08lx %4.4s 0x%02x 0x%08lx ", seq_printf(m, "%4d 0x%016llx 0x%08lx %4.4s 0x%02x 0x%08lx ",
i, i,
map->offset, (unsigned long long)map->offset,
map->size, type, map->flags, map->size, type, map->flags,
(unsigned long) r_list->user_token); (unsigned long) r_list->user_token);
if (map->mtrr < 0) if (map->mtrr < 0)