swap_info: change to array of pointers
[linux-2.6.git] / include / linux / swap.h
index 82aa7e1..f1c2487 100644 (file)
@@ -159,9 +159,10 @@ enum {
  * The in-memory structure used to track swap areas.
  */
 struct swap_info_struct {
-       unsigned long flags;
-       int prio;                       /* swap priority */
-       int next;                       /* next entry on swap list */
+       unsigned long   flags;          /* SWP_USED etc: see above */
+       signed short    prio;           /* swap priority of this type */
+       signed char     type;           /* strange name for an index */
+       signed char     next;           /* next type on the swap list */
        struct file *swap_file;
        struct block_device *bdev;
        struct list_head extent_list;