Bring back changes in version 1.3 lost in previous commit.

This commit is contained in:
Craig Rodrigues 2006-06-09 06:40:22 +00:00
parent f60f5239f8
commit 20e82979ab

View File

@ -116,18 +116,6 @@
#define NBPC PAGE_SIZE /* Number of bytes per click */
#define BPCSHIFT PAGE_SHIFT /* LOG2(NBPC) if exact */
/*
* Size of block device i/o is parameterized here.
* Currently the system supports page-sized i/o.
*/
#define BLKDEV_IOSHIFT BPCSHIFT
#ifndef BLKDEV_IOSIZE
#define BLKDEV_IOSIZE (1<<BLKDEV_IOSHIFT)
#else
# if NBPC != BLKDEV_IOSIZE
# error Wrong BLKDEV_IOSIZE
# endif
#endif
/* number of BB's per block device block */
#define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)