diff options
-rw-r--r-- | drivers/char/agp/intel-agp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 35977bfb6999..8c9d50db5c3a 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
@@ -1198,7 +1198,7 @@ static int intel_i915_create_gatt_table(struct agp_bridge_data *bridge) | |||
1198 | static unsigned long intel_i965_mask_memory(struct agp_bridge_data *bridge, | 1198 | static unsigned long intel_i965_mask_memory(struct agp_bridge_data *bridge, |
1199 | struct page *page, int type) | 1199 | struct page *page, int type) |
1200 | { | 1200 | { |
1201 | unsigned long addr = phys_to_gart(page_to_phys(page)); | 1201 | dma_addr_t addr = phys_to_gart(page_to_phys(page)); |
1202 | /* Shift high bits down */ | 1202 | /* Shift high bits down */ |
1203 | addr |= (addr >> 28) & 0xf0; | 1203 | addr |= (addr >> 28) & 0xf0; |
1204 | 1204 | ||