vserver 1.9.5.x5
[linux-2.6.git] / include / linux / pagevec.h
index e6e43ce..def32c5 100644 (file)
@@ -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];
 };