aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/drm/drm_agpsupport.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/drm/drm_agpsupport.c b/drivers/char/drm/drm_agpsupport.c
index ffb4acaefe84..8c215adcb4b2 100644
--- a/drivers/char/drm/drm_agpsupport.c
+++ b/drivers/char/drm/drm_agpsupport.c
@@ -426,13 +426,8 @@ drm_agp_head_t *drm_agp_init(drm_device_t *dev)
426 return NULL; 426 return NULL;
427 } 427 }
428 head->memory = NULL; 428 head->memory = NULL;
429#if LINUX_VERSION_CODE <= 0x020408
430 head->cant_use_aperture = 0;
431 head->page_mask = ~(0xfff);
432#else
433 head->cant_use_aperture = head->agp_info.cant_use_aperture; 429 head->cant_use_aperture = head->agp_info.cant_use_aperture;
434 head->page_mask = head->agp_info.page_mask; 430 head->page_mask = head->agp_info.page_mask;
435#endif
436 431
437 return head; 432 return head;
438} 433}