]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/pci-gart_64.c
x86: convert CPA users to the new set_page_ API
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / pci-gart_64.c
index 04ca5c5221d7b12f3ac15ca8b834ffef37df2ac4..8860c6eba8ab4bc518148495aacf2b57063ebf05 100644 (file)
@@ -570,8 +570,7 @@ static __init int init_k8_gatt(struct agp_kern_info *info)
        gatt = (void *)__get_free_pages(GFP_KERNEL, get_order(gatt_size));
        if (!gatt)
                panic("Cannot allocate GATT table");
-       if (change_page_attr_addr((unsigned long)gatt, gatt_size >> PAGE_SHIFT,
-                                 PAGE_KERNEL_NOCACHE))
+       if (set_memory_uc((unsigned long)gatt, gatt_size >> PAGE_SHIFT))
                panic("Could not set GART PTEs to uncacheable pages");
        global_flush_tlb();