aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-09 06:40:22 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-09 06:40:22 +0000
commit20e82979ab7437f2c0a472bb2c7e83507be81070 (patch)
tree3a539e32ab56fb18c64b3134e43ff90665989191 /sys/gnu
parentf60f5239f8864f12663dc27346b566a47eedff99 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
index 3a8312ad0c22..a47c413cb0d2 100644
--- a/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
+++ b/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd.h
@@ -116,20 +116,8 @@
#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)
+#define BLKDEV_BB BTOBB(BLKDEV_IOSIZE)
/* bytes to clicks */
#define btoct(x) ((__psunsigned_t)(x)>>BPCSHIFT)