On Tue, 15 May 2007 15:33:50 +0530 "Satyam Sharma" <[email protected]> wrote: > > But I have slightly different (reversed) semantics for __init_refok > in mind. Basically, we use __init_refok to annotate _callees_ > and not _callers_. In short, __init_refok is a _type_ of __init > section that other sections can freely reference to, without > modpost complaining about this. [ had suggested this in some > previous thread earlier ] But lots of __init routines cannot be called from just anywhere, it is the special circumstances of some of the callers that makes the call from non-init to init ok. So you need to mark the callers specially. -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Attachment:
pgpcPEhHxf5MB.pgp
Description: PGP signature
- References:
- Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- From: "Satyam Sharma" <[email protected]>
- RE: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- From: "Li Yang-r58472" <[email protected]>
- Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- From: "Satyam Sharma" <[email protected]>
- Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- Prev by Date: IT821x: no DMA since 2.6.21
- Next by Date: [2.6.21.1] OOPS in timer stats code
- Previous by thread: Re: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- Next by thread: RE: [PATCH 1/2] kbuild: Add "Section mismatch" warning whitelist for powerpc
- Index(es):