diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-08-22 17:08:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-08-22 17:08:07 +0000 |
commit | dc6cc63c00a1fec5a654e141d9bba1265ac94844 (patch) | |
tree | 496b713a3a684ad426f77c8125469eb0a77567b5 /target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch | |
parent | b1becffa5b223ce5118d96b063b5f42050e80c0b (diff) | |
download | upstream-dc6cc63c00a1fec5a654e141d9bba1265ac94844.tar.gz upstream-dc6cc63c00a1fec5a654e141d9bba1265ac94844.tar.bz2 upstream-dc6cc63c00a1fec5a654e141d9bba1265ac94844.zip |
update to 2.6.33.7
SVN-Revision: 22767
Diffstat (limited to 'target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch b/target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch index 0372e20655..68b91acc30 100644 --- a/target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch +++ b/target/linux/generic/patches-2.6.33/040-compcache_swap_notify_core_support.patch @@ -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--; |