summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2006-03-19 01:47:25 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2006-03-19 01:47:25 +0000
commitfeb83da3be75782fa3d13d4304ba92c04a1a3afb (patch)
tree3c87e9af3309e8bedb9956883d5769c97a26a527 /sys/arch/sparc64/include
parent41bb1def944329f27ef1f0889f1d7259a6c361f9 (diff)
remove unused bdbtofsb(bn) macro
found by drahn@
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/param.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h
index 5b7e086c192..8e7ecc5f3c9 100644
--- a/sys/arch/sparc64/include/param.h
+++ b/sys/arch/sparc64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.19 2005/10/24 19:07:40 martin Exp $ */
+/* $OpenBSD: param.h,v 1.20 2006/03/19 01:47:24 martin Exp $ */
/* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */
/*
@@ -207,14 +207,6 @@ extern int nbpg, pgofset, pgshift;
#define dbtob(x) ((x) << DEV_BSHIFT)
/*
- * Map a ``block device block'' to a file system block.
- * This should be device dependent, and should use the bsize
- * field from the disk label.
- * For now though just use DEV_BSIZE.
- */
-#define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE / DEV_BSIZE))
-
-/*
* 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'