svn commit: r244417 - head/sys/mips/include

Alan Cox alc at FreeBSD.org
Wed Dec 19 05:07:28 UTC 2012


Author: alc
Date: Wed Dec 19 05:07:27 2012
New Revision: 244417
URL: http://svnweb.freebsd.org/changeset/base/244417

Log:
  Eliminate some definitions that haven't been used in a decade or more.

Modified:
  head/sys/mips/include/param.h

Modified: head/sys/mips/include/param.h
==============================================================================
--- head/sys/mips/include/param.h	Wed Dec 19 04:24:11 2012	(r244416)
+++ head/sys/mips/include/param.h	Wed Dec 19 05:07:27 2012	(r244417)
@@ -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
  */


More information about the svn-src-all mailing list