2
0
forked from Ivasoft/openwrt

add 3.7-rc6 support (patch 820 still has to be fixed)

SVN-Revision: 34247
This commit is contained in:
Imre Kaloz
2012-11-18 18:52:38 +00:00
parent d0226aff1d
commit 935ca3f3eb
152 changed files with 26445 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -51,6 +51,18 @@ static const char *kobject_actions[] = {
[KOBJ_OFFLINE] = "offline",
};
+u64 uevent_next_seqnum(void)
+{
+ u64 seq;
+
+ mutex_lock(&uevent_sock_mutex);
+ seq = ++uevent_seqnum;
+ mutex_unlock(&uevent_sock_mutex);
+
+ return seq;
+}
+EXPORT_SYMBOL_GPL(uevent_next_seqnum);
+
/**
* kobject_action_type - translate action string to numeric type
*