projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mpc85xx: fix up kernel config and make the target boot on the MPC8568E-MDS-PB board
[openwrt.git]
/
target
/
linux
/
generic
/
patches-2.6.34
/
040-compcache_swap_notify_core_support.patch
diff --git
a/target/linux/generic/patches-2.6.34/040-compcache_swap_notify_core_support.patch
b/target/linux/generic/patches-2.6.34/040-compcache_swap_notify_core_support.patch
index
0372e20
..
0193763
100644
(file)
--- a/
target/linux/generic/patches-2.6.34/040-compcache_swap_notify_core_support.patch
+++ b/
target/linux/generic/patches-2.6.34/040-compcache_swap_notify_core_support.patch
@@
-1,6
+1,6
@@
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
-@@ -1
301,6 +1301
,8 @@ struct block_device_operations {
+@@ -1
287,6 +1287
,8 @@ struct block_device_operations {
unsigned long long);
int (*revalidate_disk) (struct gendisk *);
int (*getgeo)(struct block_device *, struct hd_geometry *);
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
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
-@@ -57
4,6 +574,7 @@ static unsigned char swap_entry_free(struct swap_info_struct *p,
+@@ -57
6,6 +576,7 @@ static unsigned char swap_entry_free(str
/* free if no reference */
if (!usage) {
/* free if no reference */
if (!usage) {
@@
-19,7
+19,7
@@
if (offset < p->lowest_bit)
p->lowest_bit = offset;
if (offset > p->highest_bit)
if (offset < p->lowest_bit)
p->lowest_bit = offset;
if (offset > p->highest_bit)
-@@ -58
3,6 +584,8 @@ static unsigned char swap_entry_free(struct swap_info_struct *p,
+@@ -58
5,6 +586,8 @@ static unsigned char swap_entry_free(str
swap_list.next = p->type;
nr_swap_pages++;
p->inuse_pages--;
swap_list.next = p->type;
nr_swap_pages++;
p->inuse_pages--;
This page took
0.01997 seconds
and
4
git commands to generate.