diff options
Diffstat (limited to 'include/asm-m68k/init.h')
-rw-r--r-- | include/asm-m68k/init.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-m68k/init.h b/include/asm-m68k/init.h index 42938ae89..93a323fd6 100644 --- a/include/asm-m68k/init.h +++ b/include/asm-m68k/init.h @@ -1,14 +1,14 @@ #ifndef _M68K_INIT_H #define _M68K_INIT_H -/* Throwing the initialization code and data out is not supported yet... */ - -#define __init -#define __initdata -#define __initfunc(__arginit) __arginit +#define __init __attribute__ ((__section__ (".text.init"))) +#define __initdata __attribute__ ((__section__ (".data.init"))) +#define __initfunc(__arginit) \ + __arginit __init; \ + __arginit /* For assembly routines */ -#define __INIT -#define __FINIT -#define __INITDATA +#define __INIT .section ".text.init",#alloc,#execinstr +#define __FINIT .previous +#define __INITDATA .section ".data.init",#alloc,#write #endif |