Re: do_initcalls bug

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Nov 24 2000 - 13:53:13 EST


> static void __init do_initcalls(void)
> {
> initcall_t *call;
>
> call = &__initcall_start;
> do {
> early_printk("[%lx]\n", call);
> (*call)();
> call++;
> } while (call < &__initcall_end);
> }
>
> In case there are no initcalls to be called, it just simply
> crashes. Ouch.

Known problem. Fixed in 2.2.x. Linus didn't want to take the patches because
2.4 'always had initcalls'

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:12 EST