X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fpagevec.h;h=def32c5715bea2a257c398ce1e3eaa847d760667;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e6e43ce82b55a825dca7185635f626718313b3aa;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/linux/pagevec.h b/include/linux/pagevec.h index e6e43ce82..def32c571 100644 --- a/include/linux/pagevec.h +++ b/include/linux/pagevec.h @@ -5,14 +5,15 @@ * pages. A pagevec is a multipage container which is used for that. */ -#define PAGEVEC_SIZE 16 +/* 14 pointers + two long's align the pagevec structure to a power of two */ +#define PAGEVEC_SIZE 14 struct page; struct address_space; struct pagevec { - unsigned nr; - int cold; + unsigned long nr; + unsigned long cold; struct page *pages[PAGEVEC_SIZE]; };