lkml.org 
[lkml]   [2004]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] kobject_uevent: fix init ordering
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.266 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site