diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:07 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:07 -0500 |
commit | 5398f9854f60d670e8ef1ea08c0e0310f253eeb1 (patch) | |
tree | 2730b29a35096dcffe924b5afaac72b1df518dc6 /drivers/char/agp/generic.c | |
parent | d7c8f21a8cad0228c7c5ce2bb6dbd95d1ee49d13 (diff) |
x86: remove flush_agp_mappings()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/char/agp/generic.c')
-rw-r--r-- | drivers/char/agp/generic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 64b2f6d7059d..1a4674ce0c71 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c | |||
@@ -197,7 +197,6 @@ void agp_free_memory(struct agp_memory *curr) | |||
197 | for (i = 0; i < curr->page_count; i++) { | 197 | for (i = 0; i < curr->page_count; i++) { |
198 | curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); | 198 | curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_UNMAP); |
199 | } | 199 | } |
200 | flush_agp_mappings(); | ||
201 | for (i = 0; i < curr->page_count; i++) { | 200 | for (i = 0; i < curr->page_count; i++) { |
202 | curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); | 201 | curr->bridge->driver->agp_destroy_page(gart_to_virt(curr->memory[i]), AGP_PAGE_DESTROY_FREE); |
203 | } | 202 | } |
@@ -267,8 +266,6 @@ struct agp_memory *agp_allocate_memory(struct agp_bridge_data *bridge, | |||
267 | } | 266 | } |
268 | new->bridge = bridge; | 267 | new->bridge = bridge; |
269 | 268 | ||
270 | flush_agp_mappings(); | ||
271 | |||
272 | return new; | 269 | return new; |
273 | } | 270 | } |
274 | EXPORT_SYMBOL(agp_allocate_memory); | 271 | EXPORT_SYMBOL(agp_allocate_memory); |