Skip to content
Snippets Groups Projects
Commit d9f60200 authored by Oskar Viljasaar's avatar Oskar Viljasaar
Browse files

Import openwrt hack patch 910-kobject_uevent.patch

parent fd25dd03
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,18 @@ static int kobject_action_args(const char *buf, size_t count, ...@@ -179,6 +179,18 @@ static int kobject_action_args(const char *buf, size_t count,
return r; return r;
} }
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_synth_uevent - send synthetic uevent with arguments * kobject_synth_uevent - send synthetic uevent with arguments
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment