agp: fix uninorth build
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 6 Aug 2009 10:20:43 +0000 (20:20 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 6 Aug 2009 10:20:43 +0000 (20:20 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/uninorth-agp.c

index 2e99311..4317a55 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;