Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105810
b: refs/heads/master
c: 4500d06
h: refs/heads/master
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Jul 25, 2008
1 parent 4f1e549 commit 42640eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db358b40e0674fd4079204d8e3e1c8ab3829a1b9
refs/heads/master: 4500d067eeb3d00679335d9cf5c6536e79cd3ef4
8 changes: 1 addition & 7 deletions trunk/include/linux/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,7 @@ void __init parse_early_param(void);

#define security_initcall(fn) module_init(fn)

/* These macros create a dummy inline: gcc 2.9x does not count alias
as usage, hence the `unused function' warning when __init functions
are declared static. We use the dummy __*_module_inline functions
both to kill the warning and check the type of the init/cleanup
function. */

/* Each module must use one module_init(), or one no_module_init */
/* Each module must use one module_init(). */
#define module_init(initfn) \
static inline initcall_t __inittest(void) \
{ return initfn; } \
Expand Down

0 comments on commit 42640eb

Please sign in to comment.