From bc894606e8843808c232319f69c26c18f6eaa662 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 5 Feb 2008 15:05:23 +1000 Subject: agp: remove flush_agp_mappings calls from new flush handling code Signed-off-by: Dave Airlie --- drivers/char/agp/intel-agp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/char/agp') diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index fe6fc382190..eeea50a1d22 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) kunmap(intel_private.i8xx_page); intel_private.i8xx_flush_page = NULL; unmap_page_from_agp(intel_private.i8xx_page); - flush_agp_mappings(); __free_page(intel_private.i8xx_page); intel_private.i8xx_page = NULL; @@ -615,7 +614,6 @@ static void intel_i830_setup_flush(void) /* make page uncached */ map_page_into_agp(intel_private.i8xx_page); - flush_agp_mappings(); intel_private.i8xx_flush_page = kmap(intel_private.i8xx_page); if (!intel_private.i8xx_flush_page) -- cgit v1.2.3-70-g09d2