Hi. On Wednesday 01 February 2006 23:01, Pekka Enberg wrote: > > + > > +static inline void suspend_initialise_module_lists(void) { > > + INIT_LIST_HEAD(&suspend_filters); > > + INIT_LIST_HEAD(&suspend_writers); > > + INIT_LIST_HEAD(&suspend_modules); > > +} > > I couldn't find a user for this. I would imagine there's only one, > though, and this should be inlined there? I forgot to mention re this - yes, there's just one caller, in another set of patches I'll send later (this was just the first set!). Having the function to be inlined in this .h so that it's with other module specific code, and then used in the caller once it has been #included, isn't that the right way to do things? Regards, Nigel -- See our web page for Howtos, FAQs, the Wiki and mailing list info. http://www.suspend2.net IRC: #suspend2 on Freenode
Attachment:
pgpfDOzQLxglw.pgp
Description: PGP signature
- Follow-Ups:
- Re: [ 01/10] [Suspend2] kernel/power/modules.h
- From: Pekka J Enberg <[email protected]>
- Re: [ 01/10] [Suspend2] kernel/power/modules.h
- References:
- [ 00/10] [Suspend2] Modules support.
- From: Nigel Cunningham <[email protected]>
- Re: [ 01/10] [Suspend2] kernel/power/modules.h
- From: Nigel Cunningham <[email protected]>
- Re: [ 01/10] [Suspend2] kernel/power/modules.h
- From: Pekka Enberg <[email protected]>
- [ 00/10] [Suspend2] Modules support.
- Prev by Date: Re: [ 00/10] [Suspend2] Modules support.
- Next by Date: Re: [ 01/10] [Suspend2] kernel/power/modules.h
- Previous by thread: Re: [ 01/10] [Suspend2] kernel/power/modules.h
- Next by thread: Re: [ 01/10] [Suspend2] kernel/power/modules.h
- Index(es):