]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/char/agp/uninorth-agp.c
agp: fix uninorth build
[net-next-2.6.git] / drivers / char / agp / uninorth-agp.c
index 2e993112ab88e91c22d2a8d0db8a9e396ad182ec..4317a5588dafb2c26ad853e91ac27275fe709a30 100644 (file)
@@ -135,7 +135,7 @@ static int uninorth_configure(void)
        if (is_u3) {
                pci_write_config_dword(agp_bridge->dev,
                                       UNI_N_CFG_GART_DUMMY_PAGE,
-                                      agp_bridge->scratch_page_real >> 12);
+                                      page_to_phys(agp_bridge->scratch_page_page) >> 12);
        }
 
        return 0;