aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/agp/intel-agp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index fe6fc382190f..eeea50a1d22a 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -597,7 +597,6 @@ static void intel_i830_fini_flush(void)
597 kunmap(intel_private.i8xx_page); 597 kunmap(intel_private.i8xx_page);
598 intel_private.i8xx_flush_page = NULL; 598 intel_private.i8xx_flush_page = NULL;
599 unmap_page_from_agp(intel_private.i8xx_page); 599 unmap_page_from_agp(intel_private.i8xx_page);
600 flush_agp_mappings();
601 600
602 __free_page(intel_private.i8xx_page); 601 __free_page(intel_private.i8xx_page);
603 intel_private.i8xx_page = NULL; 602 intel_private.i8xx_page = NULL;
@@ -615,7 +614,6 @@ static void intel_i830_setup_flush(void)
615 614
616 /* make page uncached */ 615 /* make page uncached */
617 map_page_into_agp(intel_private.i8xx_page); 616 map_page_into_agp(intel_private.i8xx_page);
618 flush_agp_mappings();
619 617
620 intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page); 618 intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page);
621 if (!intel_private.i8xx_flush_page) 619 if (!intel_private.i8xx_flush_page)