]> err.no Git - linux-2.6/blobdiff - include/linux/mm_types.h
[NETPOLL]: Don't need rx_flags.
[linux-2.6] / include / linux / mm_types.h
index 0cdc8fbf64310c48c53c61761702c24c2cbdef7c..f4c03e0b355e04dbbbc05f9500350d632ef87bd6 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _LINUX_MM_TYPES_H
 #define _LINUX_MM_TYPES_H
 
-#include <linux/auxvec.h>      /* For AT_VECTOR_SIZE */
+#include <linux/auxvec.h>
 #include <linux/types.h>
 #include <linux/threads.h>
 #include <linux/list.h>
 #include <asm/page.h>
 #include <asm/mmu.h>
 
+#ifndef AT_VECTOR_SIZE_ARCH
+#define AT_VECTOR_SIZE_ARCH 0
+#endif
+#define AT_VECTOR_SIZE (2*(AT_VECTOR_SIZE_ARCH + AT_VECTOR_SIZE_BASE + 1))
+
 struct address_space;
 
 #if NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS
@@ -37,10 +42,7 @@ struct page {
                                         * to show when page is mapped
                                         * & limit reverse map searches.
                                         */
-               struct {        /* SLUB uses */
-                       short unsigned int inuse;
-                       short unsigned int offset;
-               };
+               unsigned int inuse;     /* SLUB: Nr of objects */
        };
        union {
            struct {