From: Kenn H. <ke...@us...> - 2001-02-21 00:27:03
|
Update of /cvsroot/linux-vax/kernel-2.4/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv23142 Modified Files: iobuf.h Log Message: Revert KIO_STATIC_PAGES back to original definition which works now that we have 4K pages Index: iobuf.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/linux/iobuf.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- iobuf.h 2001/01/18 15:52:28 1.2 +++ iobuf.h 2001/02/21 00:28:01 1.3 @@ -26,7 +26,7 @@ #define KIO_MAX_ATOMIC_IO 64 /* in kb */ #define KIO_MAX_ATOMIC_BYTES (64 * 1024) -#define KIO_STATIC_PAGES ( (KIO_MAX_ATOMIC_IO << 10) / (PAGE_SIZE) + 1) +#define KIO_STATIC_PAGES (KIO_MAX_ATOMIC_IO / (PAGE_SIZE >> 10) + 1) #define KIO_MAX_SECTORS (KIO_MAX_ATOMIC_IO * 2) /* The main kiobuf struct used for all our IO! */ |