summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/uninorth-agp.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2009-08-06 12:20:43 +0200
committerDave Airlie <airlied@linux.ie>2009-08-06 12:20:43 +0200
commit5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191 (patch)
tree9ee2a64a8e35116b39b543a276baec332410f540 /drivers/char/agp/uninorth-agp.c
parentMerge git://git.infradead.org/~dwmw2/iommu-agp into agp-next (diff)
downloadlinux-5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191.tar.xz
linux-5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191.zip
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 2e993112ab88..4317a5588daf 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;