> > Yup, we were only discussing possibility that modpost not complain > about .init -> .exit references that will never go oops (because the arch > guarantees that). And there are no good reasosns why the rules should be different for i386 and powerpc. This type of special casing is always bad. Think about it a little. Someone writes a generic driver and test it on i386 - OK. But for powerpc it result in a build failure. It would be so much better to warn about this situation early. We had this exact issue in loop.c recently - so it is not a made up example. [I recall it was ia64 that had a build failure but the example still holds ture] Sam - 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/
- Follow-Ups:
- Re: [PATCH] x86: fix improper .init-type section references
- From: "Jan Beulich" <[email protected]>
- Re: [PATCH] x86: fix improper .init-type section references
- 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: "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]>
- [PATCH] x86: fix improper .init-type section references
- Prev by Date: [PATCH] Export radix_tree_preload()
- Next by Date: Re: [PATCHSET 2.6.22-rc4] sysfs: fix race conditions
- 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):