all: fix warning on __exit annotations

This commit is contained in:
Thomas Schoebel-Theuer 2012-11-28 12:55:37 +01:00 committed by Thomas Schoebel-Theuer
parent 4101aa69de
commit d930823b17
2 changed files with 10 additions and 0 deletions

View File

@ -628,6 +628,11 @@ extern void brick_thread_stop_nowait(struct task_struct *k);
// init
#ifdef CONFIG_MARS_HAVE_BIGMODULE
#undef __exit
#define __exit /*empty*/
#endif
extern int init_brick(void);
extern void exit_brick(void);

View File

@ -65,6 +65,11 @@ extern int brick_mem_reserve(struct mem_reservation *r);
// init
#ifdef CONFIG_MARS_HAVE_BIGMODULE
#undef __exit
#define __exit /*empty*/
#endif
extern int init_brick_mem(void);
extern void exit_brick_mem(void);