summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/include
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2008-04-27 17:48:11 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2008-04-27 17:48:11 +0000
commit3d245af8182de9c1f4255b677e31e5c592e12585 (patch)
tree7eecc7944a753929ae17db76ababd18da6e775a5 /sys/arch/hppa64/include
parent7046c098af8880891ee39c99d5f5fa11ce76ef4b (diff)
replace ctob/btoc by ptoa/atop
Diffstat (limited to 'sys/arch/hppa64/include')
-rw-r--r--sys/arch/hppa64/include/param.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/hppa64/include/param.h b/sys/arch/hppa64/include/param.h
index 46672941b54..3c1a9a2d9a5 100644
--- a/sys/arch/hppa64/include/param.h
+++ b/sys/arch/hppa64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.10 2008/04/20 11:53:11 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.11 2008/04/27 17:48:10 martin Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -84,10 +84,6 @@
#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT))
-/* pages to bytes */
-#define ctob(x) ((x) << PAGE_SHIFT)
-#define btoc(x) (((x) + PAGE_MASK) >> PAGE_SHIFT)
-
#define btodb(x) ((x) >> DEV_BSHIFT)
#define dbtob(x) ((x) << DEV_BSHIFT)