patch-2.1.101 linux/drivers/ap1000/ddv.c

Next file: linux/drivers/block/Config.in
Previous file: linux/drivers/ap1000/bif.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/drivers/ap1000/ddv.c linux/drivers/ap1000/ddv.c
@@ -60,6 +60,8 @@
    to make things a bit more efficient */
 #define SECTOR_BLOCK_SHIFT 9
 
+#define SECTOR_MASK ((BLOCK_SIZE >> 9) - 1)
+
 /* try to read ahead a bit */
 #define DDV_READ_AHEAD 64
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov