aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/agp/generic.c')
-rw-r--r--drivers/char/agp/generic.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index 78bc8de0f234..012cba0d6d96 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -480,26 +480,6 @@ int agp_unbind_memory(struct agp_memory *curr)
480} 480}
481EXPORT_SYMBOL(agp_unbind_memory); 481EXPORT_SYMBOL(agp_unbind_memory);
482 482
483/**
484 * agp_rebind_emmory - Rewrite the entire GATT, useful on resume
485 */
486int agp_rebind_memory(void)
487{
488 struct agp_memory *curr;
489 int ret_val = 0;
490
491 spin_lock(&agp_bridge->mapped_lock);
492 list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
493 ret_val = curr->bridge->driver->insert_memory(curr,
494 curr->pg_start,
495 curr->type);
496 if (ret_val != 0)
497 break;
498 }
499 spin_unlock(&agp_bridge->mapped_lock);
500 return ret_val;
501}
502EXPORT_SYMBOL(agp_rebind_memory);
503 483
504/* End - Routines for handling swapping of agp_memory into the GATT */ 484/* End - Routines for handling swapping of agp_memory into the GATT */
505 485