aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.2
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2012-04-09 14:48:51 +0000
committerJonas Gorski <jogo@openwrt.org>2012-04-09 14:48:51 +0000
commit16b4cbcdd64d92f6e79d41e11eda25a178ef3b53 (patch)
treebd75cb94a45491fc7adfc7874a0f794afe565cbc /target/linux/generic/patches-3.2
parent1a57b05f472e60b05a8a4360718253820e8fece4 (diff)
downloadupstream-16b4cbcdd64d92f6e79d41e11eda25a178ef3b53.tar.gz
upstream-16b4cbcdd64d92f6e79d41e11eda25a178ef3b53.tar.bz2
upstream-16b4cbcdd64d92f6e79d41e11eda25a178ef3b53.zip
kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
Diffstat (limited to 'target/linux/generic/patches-3.2')
-rw-r--r--target/linux/generic/patches-3.2/910-kobject_uevent.patch17
-rw-r--r--target/linux/generic/patches-3.2/911-kobject_add_broadcast_uevent.patch2
-rw-r--r--target/linux/generic/patches-3.2/950-vm_exports.patch4
3 files changed, 6 insertions, 17 deletions
diff --git a/target/linux/generic/patches-3.2/910-kobject_uevent.patch b/target/linux/generic/patches-3.2/910-kobject_uevent.patch
index f15749fa17..aa9a40f099 100644
--- a/target/linux/generic/patches-3.2/910-kobject_uevent.patch
+++ b/target/linux/generic/patches-3.2/910-kobject_uevent.patch
@@ -1,6 +1,6 @@
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
-@@ -49,6 +49,18 @@ static const char *kobject_actions[] = {
+@@ -50,6 +50,18 @@ static const char *kobject_actions[] = {
[KOBJ_OFFLINE] = "offline",
};
@@ -8,9 +8,9 @@
+{
+ u64 seq;
+
-+ spin_lock(&sequence_lock);
++ mutex_lock(&uevent_sock_mutex);
+ seq = ++uevent_seqnum;
-+ spin_unlock(&sequence_lock);
++ mutex_unlock(&uevent_sock_mutex);
+
+ return seq;
+}
@@ -19,14 +19,3 @@
/**
* kobject_action_type - translate action string to numeric type
*
-@@ -244,9 +256,7 @@ int kobject_uevent_env(struct kobject *k
- kobj->state_remove_uevent_sent = 1;
-
- /* we will send an event, so request a new sequence number */
-- spin_lock(&sequence_lock);
-- seq = ++uevent_seqnum;
-- spin_unlock(&sequence_lock);
-+ seq = uevent_next_seqnum();
- retval = add_uevent_var(env, "SEQNUM=%llu", (unsigned long long)seq);
- if (retval)
- goto exit;
diff --git a/target/linux/generic/patches-3.2/911-kobject_add_broadcast_uevent.patch b/target/linux/generic/patches-3.2/911-kobject_add_broadcast_uevent.patch
index 0d1d0125ba..084db9a488 100644
--- a/target/linux/generic/patches-3.2/911-kobject_add_broadcast_uevent.patch
+++ b/target/linux/generic/patches-3.2/911-kobject_add_broadcast_uevent.patch
@@ -39,7 +39,7 @@
#endif /* _KOBJECT_H_ */
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
-@@ -377,6 +377,43 @@ int add_uevent_var(struct kobj_uevent_en
+@@ -378,6 +378,43 @@ int add_uevent_var(struct kobj_uevent_en
EXPORT_SYMBOL_GPL(add_uevent_var);
#if defined(CONFIG_NET)
diff --git a/target/linux/generic/patches-3.2/950-vm_exports.patch b/target/linux/generic/patches-3.2/950-vm_exports.patch
index 355ecba8ec..0f69c5fc83 100644
--- a/target/linux/generic/patches-3.2/950-vm_exports.patch
+++ b/target/linux/generic/patches-3.2/950-vm_exports.patch
@@ -71,7 +71,7 @@
--- a/mm/memory.c
+++ b/mm/memory.c
-@@ -1385,6 +1385,7 @@ unsigned long zap_page_range(struct vm_a
+@@ -1393,6 +1393,7 @@ unsigned long zap_page_range(struct vm_a
tlb_finish_mmu(&tlb, address, end);
return end;
}
@@ -79,7 +79,7 @@
/**
* zap_vma_ptes - remove ptes mapping the vma
-@@ -3060,6 +3061,7 @@ static inline int check_stack_guard_page
+@@ -3068,6 +3069,7 @@ static inline int check_stack_guard_page
}
return 0;
}