diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-10-30 11:18:44 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-10-30 11:18:44 +0100 |
commit | 4b04c0cc45f7a89c757ce442e4f2742b9d3aa293 (patch) | |
tree | 9ed659be256727f6483b2705a3d255914075bb21 /linux-core/drm_vm.c | |
parent | 56563c22d658b6dcb7926fd41513618cd46c31a6 (diff) |
Bugzilla Bug #8819
Build fixes for powerpc.
Reported by Katerina Barone-Adesi
Diffstat (limited to 'linux-core/drm_vm.c')
-rw-r--r-- | linux-core/drm_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index fd6e89d8..6eb996ad 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -57,7 +57,7 @@ pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) } #elif defined(__powerpc__) pgprot_val(tmp) |= _PAGE_NO_CACHE; - if (map->type == _DRM_REGISTERS) + if (map_type == _DRM_REGISTERS) pgprot_val(tmp) |= _PAGE_GUARDED; #endif #if defined(__ia64__) |