summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/dev/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa64/dev/mem.c')
-rw-r--r--sys/arch/hppa64/dev/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/dev/mem.c b/sys/arch/hppa64/dev/mem.c
index 67299590181..51a20555171 100644
--- a/sys/arch/hppa64/dev/mem.c
+++ b/sys/arch/hppa64/dev/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.5 2008/04/27 17:48:09 martin Exp $ */
+/* $OpenBSD: mem.c,v 1.6 2010/12/26 15:40:59 miod Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -256,7 +256,7 @@ mmmmap(dev, off, prot)
off >= ptoa(lastusablepage + 1))
return (-1);
#endif
- return (atop(off));
+ return (off);
}
int