On Tue, 2 Jan 2001, Kai Germaschewski wrote: > I think the problem was that we relied on divert_if being initialized to > zero automatically, which didn't happen because it was not declared static > and therefore not in .bss (*is this true?*). This is true in this particular case, and your added "static" is good. But you seem to miss the root of the problem, that isdn_common.c declares an "isdn_divert_if *divert_if", and divert/divert_init.c declares an "isdn_divert_if divert_if" (initialized non-zero). When the two .os were linked, you got a single "divert_if" (initialized non-zero in .data). Wouldn't it be best to (keep the "static" but also) change the name of the pointer in isdn_common.c? Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Happy new year^H^H^H^Hkernel.. Rik Faith
- Re: Happy new year^H^H^H^Hker... Alan Cox
- Re: Happy new year^H^H^H^Hkernel.. Adam Sampson
- Re: Happy new year^H^H^H^Hkernel.. Daniel Phillips
- Re: Happy new year^H^H^H^Hkernel.. Gerold Jury
- Re: Happy new year^H^H^H^Hkernel.. Kurt Roeckx
- Re: Happy new year^H^H^H^Hkernel.. David Woodhouse
- Re: Happy new year^H^H^H^Hkernel.. Gerold Jury
- Re: Happy new year^H^H^H^Hkernel.. Kai Germaschewski
- Re: Happy new year^H^H^H^Hkernel.. Gerold Jury
- Re: Happy new year^H^H^H^Hkernel.. Hugh Dickins
- Re: Happy new year^H^H^H^Hkernel.. Eric W. Biederman
- Re: Happy new year^H^H^H^Hkernel.. Kai Germaschewski
- Re: Happy new year^H^H^H^Hker... Russell King
- Re: Happy new year^H^H^H^... Eric W. Biederman
- Re: Happy new year^H^H^H^Hkernel.. Matthias Andree
- Re: Happy new year^H^H^H^Hkernel.. Richard B. Johnson
- Re: Happy new year^H^H^H^Hkernel.. Andrzej Krzysztofowicz
- Happy new year^H^H^H^Hkernel.. Ray Strode
- Re: Happy new year^H^H^H^Hkernel.. Ray Strode
- Re: Happy new year^H^H^H^Hkernel.. Kai Germaschewski