Messages in this thread | | | Subject | Re: [patch] kobject_uevent: fix init ordering | From | Kay Sievers <> | Date | Thu, 04 Nov 2004 20:04:02 +0100 |
| |
On Thu, 2004-11-04 at 13:27 -0500, Robert Love wrote: > Greg! > > Looks like kobject_uevent_init is executed before netlink_proto_init and > consequently always fails. Not cool. > > Attached patch switches the initialization over from core_initcall (init > level 1) to postcore_initcall (init level 2). Netlink's initialization > is done in core_initcall, so this should fix the problem. We should be > fine waiting until postcore_initcall.
Looks good. Don't know why this never failed on any kernel I used. Does the failure happens on a SMP kernel?
> static int send_uevent(const char *signal, const char *obj, const void *buf, > - int buflen, int gfp_mask) > + int buflen, int gfp_mask) ^^^^^^^^^^ This has changed and will not apply.
Best, Kay
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |