Hi. On Wednesday 01 February 2006 23:01, Pekka Enberg wrote: > On 2/1/06, Nigel Cunningham <[email protected]> wrote: > > --- /dev/null > > +++ b/kernel/power/modules.h > > > > +struct module_header { > > [snip] > > > +extern int num_modules, num_writers; > > [snip] > > > +extern struct suspend_module_ops *active_writer; > > [snip] > > > +extern void prepare_console_modules(void); > > +extern void cleanup_console_modules(void); > > [snip, snip] > > > +extern unsigned long header_storage_for_modules(void); > > +extern unsigned long memory_for_modules(void); > > + > > +extern int print_module_debug_info(char *buffer, int buffer_size); > > Suspend prefix for the names of all of the above please? They're > confusing with kernel/module.c now. > > > +extern int suspend_register_module(struct suspend_module_ops *module); > > +extern void suspend_unregister_module(struct suspend_module_ops > > *module); + > > +extern int suspend2_initialise_modules(int starting_cycle); > > +extern void suspend2_cleanup_modules(int finishing_cycle); > > + > > +int suspend2_get_modules(void); > > +void suspend2_put_modules(void); > > I think we can call these suspend_{get|set}_modules instead i.e. > without the extra '2'. > > > + > > +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? All done. Thanks! Nigel -- See our web page for Howtos, FAQs, the Wiki and mailing list info. http://www.suspend2.net IRC: #suspend2 on Freenode
Attachment:
pgprO7f0gedgU.pgp
Description: PGP signature
- 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: [ 01/10] [Suspend2] kernel/power/modules.h
- Next by Date: Re: CD writing in future Linux (stirring up a hornets' nest)
- Previous by thread: Re: [ 01/10] [Suspend2] kernel/power/modules.h
- Next by thread: Re: [ 01/10] [Suspend2] kernel/power/modules.h'
- Index(es):