X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8f3d3ea2183d32de437ba5443c9e5a2a2dcd476f..63bb6b655e820475c04b9aec33c416d683998f62:/target/linux/generic-2.6/patches-2.6.25/213-kobject_uevent.patch diff --git a/target/linux/generic-2.6/patches-2.6.25/213-kobject_uevent.patch b/target/linux/generic-2.6/patches-2.6.25/213-kobject_uevent.patch index a3d5ee2c7..271136679 100644 --- a/target/linux/generic-2.6/patches-2.6.25/213-kobject_uevent.patch +++ b/target/linux/generic-2.6/patches-2.6.25/213-kobject_uevent.patch @@ -1,5 +1,5 @@ ---- linux-2.6.24/lib/kobject_uevent.c 2008-01-24 23:58:37.000000000 +0100 -+++ linux-2.6.24-owrt/lib/kobject_uevent.c 2008-01-28 12:01:41.000000000 +0100 +--- a/lib/kobject_uevent.c ++++ b/lib/kobject_uevent.c @@ -27,7 +27,8 @@ char uevent_helper[UEVENT_HELPER_PATH_LEN] = CONFIG_UEVENT_HELPER_PATH; static DEFINE_SPINLOCK(sequence_lock); @@ -29,8 +29,8 @@ /** * kobject_action_type - translate action string to numeric type * -@@ -173,9 +186,7 @@ - } +@@ -192,9 +205,7 @@ + kobj->state_remove_uevent_sent = 1; /* we will send an event, so request a new sequence number */ - spin_lock(&sequence_lock);