diff options
Diffstat (limited to 'drivers/char/agp/i460-agp.c')
-rw-r--r-- | drivers/char/agp/i460-agp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/agp/i460-agp.c b/drivers/char/agp/i460-agp.c index 75d2aca6353d..70117df4d067 100644 --- a/drivers/char/agp/i460-agp.c +++ b/drivers/char/agp/i460-agp.c | |||
@@ -536,10 +536,10 @@ static void *i460_alloc_page (struct agp_bridge_data *bridge) | |||
536 | return page; | 536 | return page; |
537 | } | 537 | } |
538 | 538 | ||
539 | static void i460_destroy_page (void *page) | 539 | static void i460_destroy_page (void *page, int flags) |
540 | { | 540 | { |
541 | if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) { | 541 | if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) { |
542 | agp_generic_destroy_page(page); | 542 | agp_generic_destroy_page(page, flags); |
543 | global_flush_tlb(); | 543 | global_flush_tlb(); |
544 | } | 544 | } |
545 | } | 545 | } |