>But then why not simply lose the __exit (and .exit.*) altogether? Because >__exit becomes redundant in the suggested changed semantics -- just mark >all the cleanup code as __init too (when it's built-in, the only >callsite for the >cleanup code would be from the startup code in .init.*, and when modular, >__init and __exit lose all relevance anyway). Because of the non-builtin case (__init still has significance in the modular case, it's only __exit that doesn't). For the builtin case, __init could certainly be identical to __exit. Jan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] x86: fix improper .init-type section references
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Satyam Sharma" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Satyam Sharma" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Satyam Sharma" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: Sam Ravnborg <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Satyam Sharma" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: Sam Ravnborg <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Satyam Sharma" <[email protected]>
- [PATCH] x86: fix improper .init-type section references
- Prev by Date: Re: pci probe
- Next by Date: CRAMFS: Possible problem with named pipes
- Previous by thread: Re: [PATCH] x86: fix improper .init-type section references
- Next by thread: Re: [PATCH] x86: fix improper .init-type section references
- Index(es):