diff options
Diffstat (limited to 'drivers/char/agp/generic.c')
-rw-r--r-- | drivers/char/agp/generic.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 4956f1c8f9d5..012cba0d6d96 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c | |||
@@ -81,13 +81,6 @@ static int agp_get_key(void) | |||
81 | return -1; | 81 | return -1; |
82 | } | 82 | } |
83 | 83 | ||
84 | void agp_flush_chipset(struct agp_bridge_data *bridge) | ||
85 | { | ||
86 | if (bridge->driver->chipset_flush) | ||
87 | bridge->driver->chipset_flush(bridge); | ||
88 | } | ||
89 | EXPORT_SYMBOL(agp_flush_chipset); | ||
90 | |||
91 | /* | 84 | /* |
92 | * Use kmalloc if possible for the page list. Otherwise fall back to | 85 | * Use kmalloc if possible for the page list. Otherwise fall back to |
93 | * vmalloc. This speeds things up and also saves memory for small AGP | 86 | * vmalloc. This speeds things up and also saves memory for small AGP |
@@ -487,26 +480,6 @@ int agp_unbind_memory(struct agp_memory *curr) | |||
487 | } | 480 | } |
488 | EXPORT_SYMBOL(agp_unbind_memory); | 481 | EXPORT_SYMBOL(agp_unbind_memory); |
489 | 482 | ||
490 | /** | ||
491 | * agp_rebind_emmory - Rewrite the entire GATT, useful on resume | ||
492 | */ | ||
493 | int agp_rebind_memory(void) | ||
494 | { | ||
495 | struct agp_memory *curr; | ||
496 | int ret_val = 0; | ||
497 | |||
498 | spin_lock(&agp_bridge->mapped_lock); | ||
499 | list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) { | ||
500 | ret_val = curr->bridge->driver->insert_memory(curr, | ||
501 | curr->pg_start, | ||
502 | curr->type); | ||
503 | if (ret_val != 0) | ||
504 | break; | ||
505 | } | ||
506 | spin_unlock(&agp_bridge->mapped_lock); | ||
507 | return ret_val; | ||
508 | } | ||
509 | EXPORT_SYMBOL(agp_rebind_memory); | ||
510 | 483 | ||
511 | /* End - Routines for handling swapping of agp_memory into the GATT */ | 484 | /* End - Routines for handling swapping of agp_memory into the GATT */ |
512 | 485 | ||