update to 2.6.33.7
[librecmc/librecmc.git] / target / linux / generic / patches-2.6.33 / 040-compcache_swap_notify_core_support.patch
index 0372e20655b4a03e448efb17fa2916dee168d0eb..68b91acc30c19c00ee8a65eca8cfe248593d4cf7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/include/linux/blkdev.h
 +++ b/include/linux/blkdev.h
-@@ -1301,6 +1301,8 @@ struct block_device_operations {
+@@ -1299,6 +1299,8 @@ struct block_device_operations {
                                                unsigned long long);
        int (*revalidate_disk) (struct gendisk *);
        int (*getgeo)(struct block_device *, struct hd_geometry *);
@@ -11,7 +11,7 @@
  
 --- a/mm/swapfile.c
 +++ b/mm/swapfile.c
-@@ -574,6 +574,7 @@ static unsigned char swap_entry_free(struct swap_info_struct *p,
+@@ -574,6 +574,7 @@ static unsigned char swap_entry_free(str
  
        /* free if no reference */
        if (!usage) {
@@ -19,7 +19,7 @@
                if (offset < p->lowest_bit)
                        p->lowest_bit = offset;
                if (offset > p->highest_bit)
-@@ -583,6 +584,8 @@ static unsigned char swap_entry_free(struct swap_info_struct *p,
+@@ -583,6 +584,8 @@ static unsigned char swap_entry_free(str
                        swap_list.next = p->type;
                nr_swap_pages++;
                p->inuse_pages--;