summaryrefslogtreecommitdiffstats
path: root/drivers/char
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
parent94aa9b9ab09922cfd3bf52806f3ede9cde1ce300 (diff)
downloadop-kernel-dev-5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191.zip
op-kernel-dev-5e8d6b8bf94f1ffcb7e3c31b73284c20f297f191.tar.gz
agp: fix uninorth build
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char')
-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 2e99311..4317a55 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;
OpenPOWER on IntegriCloud