Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 05:07:27 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r244417 - head/sys/mips/include
Message-ID:  <201212190507.qBJ57R0c015161@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212190507.qBJ57R0c015161>