summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/bus
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2007-12-25 22:42:50 -0800
committerJulien Cristau <jcristau@debian.org>2007-12-27 07:34:09 +0100
commitae869fc7669764729e13fdd70149ed636753f2a3 (patch)
treec0a59e81fb3bb6e8e6118c4e1233e44e8f46fa24 /hw/xfree86/os-support/bus
parent009f1e4e55200425de2fe0dbc1f0ac0f431fb4cf (diff)
[SBUS]: Fix build, use getpagesize() instead of xf86getpagesize().
xf86getpagesize() was removed, but this one call site was not fixed up. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'hw/xfree86/os-support/bus')
-rw-r--r--hw/xfree86/os-support/bus/Sbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/Sbus.c b/hw/xfree86/os-support/bus/Sbus.c
index 2f0043f4c..ff257a8c7 100644
--- a/hw/xfree86/os-support/bus/Sbus.c
+++ b/hw/xfree86/os-support/bus/Sbus.c
@@ -585,7 +585,7 @@ xf86MapSbusMem(sbusDevicePtr psdp, unsigned long offset, unsigned long size)
_X_EXPORT void
xf86UnmapSbusMem(sbusDevicePtr psdp, pointer addr, unsigned long size)
{
- unsigned long mask = xf86getpagesize() - 1;
+ unsigned long mask = getpagesize() - 1;
unsigned long base = (unsigned long)addr & ~mask;
unsigned long len = (((unsigned long)addr + size + mask) & ~mask) - base;