aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/agp/uninorth-agp.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2009-08-06 20:20:43 +1000
committerDave Airlie <airlied@linux.ie>2009-08-06 20:20:43 +1000
commit5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191 (patch)
tree9ee2a64a8e35116b39b543a276baec332410f540 /drivers/char/agp/uninorth-agp.c
parent94aa9b9ab09922cfd3bf52806f3ede9cde1ce300 (diff)
agp: fix uninorth build
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/agp/uninorth-agp.c')
-rw-r--r--drivers/char/agp/uninorth-agp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
index 2e993112ab8..4317a5588da 100644
--- a/drivers/char/agp/uninorth-agp.c
+++ b/drivers/char/agp/uninorth-agp.c
@@ -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;