2
0
forked from Ivasoft/openwrt

linux 3.6 support (work in progress)

SVN-Revision: 33897
This commit is contained in:
Imre Kaloz
2012-10-23 12:21:34 +00:00
parent 0d2cf5f9e3
commit 949b46d13d
144 changed files with 65306 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -50,6 +50,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
*