Re: 2.1.121 breaks compilation, initmem_freed undefined

Linus Torvalds (torvalds@transmeta.com)
Sun, 13 Sep 1998 10:00:15 -0700 (PDT)


On Sun, 13 Sep 1998, Alan Cox wrote:
>
> There is a function buried in the depths of the code that can be called
> from both modules and at init time. If its called at init time it displays
> the penguin logo everyone wants. If its called later it doesnt. So either
> there is a "penguin has been freed" flag or you pass "is being called
> by a module" through every single layer of code to that deeply buried function.
>
> So it doesnt _depend_ on any __init structures, it can simply make use of them
> if they are present.

No, the code did NOT make any sense.

Something like this _would_ have made sense:

#ifndef MODULE
show_the_logo();
#endif

and would never have broken.

Linus

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