1 --- a/lib/kobject_uevent.c
2 +++ b/lib/kobject_uevent.c
3 @@ -51,6 +51,18 @@ static const char *kobject_actions[] = {
4 [KOBJ_OFFLINE] = "offline",
7 +u64 uevent_next_seqnum(void)
11 + mutex_lock(&uevent_sock_mutex);
12 + seq = ++uevent_seqnum;
13 + mutex_unlock(&uevent_sock_mutex);
17 +EXPORT_SYMBOL_GPL(uevent_next_seqnum);
20 * kobject_action_type - translate action string to numeric type