summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/param.h
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/sparc/include/param.h
parent41bb1def944329f27ef1f0889f1d7259a6c361f9 (diff)
remove unused bdbtofsb(bn) macro
found by drahn@
Diffstat (limited to 'sys/arch/sparc/include/param.h')
-rw-r--r--sys/arch/sparc/include/param.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h
index d355b11d880..c9f9f563b35 100644
--- a/sys/arch/sparc/include/param.h
+++ b/sys/arch/sparc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.35 2006/02/28 18:24:18 miod Exp $ */
+/* $OpenBSD: param.h,v 1.36 2006/03/19 01:47:24 martin Exp $ */
/* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */
/*
@@ -125,14 +125,6 @@
#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'