diff options
Diffstat (limited to 'include/init.h')
-rw-r--r-- | include/init.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/init.h b/include/init.h index 8692b68d07..2f4fac164b 100644 --- a/include/init.h +++ b/include/init.h @@ -7,6 +7,10 @@ #define __init #define __initdata +/* For assembly routines */ +#define __BARE_INIT .section ".text_bare_init.text","ax" + +#ifndef __ASSEMBLY__ typedef int (*initcall_t)(void); #define __define_initcall(level,fn,id) \ @@ -40,5 +44,7 @@ typedef int (*initcall_t)(void); */ #define __bare_init __section(.text_bare_init.text) +#endif + #endif /* _INIT_H */ |