summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-12-19 05:07:27 +0000
committeralc <alc@FreeBSD.org>2012-12-19 05:07:27 +0000
commit09af01583b9200cab4f61c81654372ce78625bda (patch)
treeafe9bb6985f588dd8fe8197af85eca699abe0fa0
parent0edae79f932d84f7fda2089f675ebe6532c4c5f0 (diff)
downloadFreeBSD-src-09af01583b9200cab4f61c81654372ce78625bda.zip
FreeBSD-src-09af01583b9200cab4f61c81654372ce78625bda.tar.gz
Eliminate some definitions that haven't been used in a decade or more.
-rw-r--r--sys/mips/include/param.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/mips/include/param.h b/sys/mips/include/param.h
index c700a44..57c80b1 100644
--- a/sys/mips/include/param.h
+++ b/sys/mips/include/param.h
@@ -163,20 +163,6 @@
#define KSTACK_PAGES 2 /* kernel stack */
#define KSTACK_GUARD_PAGES 2 /* pages of kstack guard; 0 disables */
-#define UPAGES 2
-
-/* pages ("clicks") (4096 bytes) to disk blocks */
-#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
-#define dtoc(x) ((x) >> (PAGE_SHIFT - 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))
-
/*
* Mach derived conversion macros
*/
OpenPOWER on IntegriCloud