summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-11-01 21:37:10 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-11-01 21:37:10 +0000
commitbb87063d4df017a5236b81e051e837d3fb05f295 (patch)
tree5015ae3a5123a3f6393dfa768b0bfd9bb47300af /sys/arch
parentfc10c863f63d4371b2473326a73f73d1b15b4310 (diff)
remove Mach macros, they were unused anyway
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/include/param.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h
index 6b36eda3d6b..7cfedabcd4e 100644
--- a/sys/arch/sparc/include/param.h
+++ b/sys/arch/sparc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.33 2005/09/25 20:05:35 miod Exp $ */
+/* $OpenBSD: param.h,v 1.34 2005/11/01 21:37:09 martin Exp $ */
/* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */
/*
@@ -133,12 +133,6 @@
#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE / DEV_BSIZE))
/*
- * Mach derived conversion macros
- */
-#define sparc_btop(x) ((unsigned)(x) >> PGSHIFT)
-#define sparc_ptob(x) ((unsigned)(x) << PGSHIFT)
-
-/*
* dvmamap manages a range of DVMA addresses intended to create double
* mappings of physical memory. In a way, `dvmamap' is a submap of the
* VM map `phys_map'. The difference is the use of the `resource map'