summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r--sys/arch/hppa/dev/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/mem.c b/sys/arch/hppa/dev/mem.c
index c61f76a7329..23dcbd22d93 100644
--- a/sys/arch/hppa/dev/mem.c
+++ b/sys/arch/hppa/dev/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.26 2004/09/19 01:30:11 mickey Exp $ */
+/* $OpenBSD: mem.c,v 1.27 2005/11/28 20:13:08 martin Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -416,7 +416,7 @@ mmmmap(dev, off, prot)
off >= ctob(lastusablepage + 1))
return (-1);
#endif
- return (btop(off));
+ return (atop(off));
}
int