diff options
-rw-r--r-- | drivers/char/agp/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c index 38022ea7eeb4..a0df182f6f7d 100644 --- a/drivers/char/agp/generic.c +++ b/drivers/char/agp/generic.c | |||
@@ -958,7 +958,7 @@ int agp_generic_create_gatt_table(struct agp_bridge_data *bridge) | |||
958 | if (set_memory_uc((unsigned long)table, 1 << page_order)) | 958 | if (set_memory_uc((unsigned long)table, 1 << page_order)) |
959 | printk(KERN_WARNING "Could not set GATT table memory to UC!\n"); | 959 | printk(KERN_WARNING "Could not set GATT table memory to UC!\n"); |
960 | 960 | ||
961 | bridge->gatt_table = (void *)table; | 961 | bridge->gatt_table = (u32 __iomem *)table; |
962 | #else | 962 | #else |
963 | bridge->gatt_table = ioremap_nocache(virt_to_phys(table), | 963 | bridge->gatt_table = ioremap_nocache(virt_to_phys(table), |
964 | (PAGE_SIZE * (1 << page_order))); | 964 | (PAGE_SIZE * (1 << page_order))); |