aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/intel-gtt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 9a03815483c7..0c8ff6d8824b 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -814,7 +814,6 @@ static void i830_cleanup(void)
814{ 814{
815 kunmap(intel_private.i8xx_page); 815 kunmap(intel_private.i8xx_page);
816 intel_private.i8xx_flush_page = NULL; 816 intel_private.i8xx_flush_page = NULL;
817 unmap_page_from_agp(intel_private.i8xx_page);
818 817
819 __free_page(intel_private.i8xx_page); 818 __free_page(intel_private.i8xx_page);
820 intel_private.i8xx_page = NULL; 819 intel_private.i8xx_page = NULL;
@@ -826,7 +825,7 @@ static void intel_i830_setup_flush(void)
826 if (intel_private.i8xx_page) 825 if (intel_private.i8xx_page)
827 return; 826 return;
828 827
829 intel_private.i8xx_page = alloc_page(GFP_KERNEL | __GFP_ZERO | GFP_DMA32); 828 intel_private.i8xx_page = alloc_page(GFP_KERNEL);
830 if (!intel_private.i8xx_page) 829 if (!intel_private.i8xx_page)
831 return; 830 return;
832 831