Import 2.3.18pre1
[davej-history.git] / include / asm-m68k / init.h
blobdc73aed8a7c6a5b70929dbb5890291f5eb260a91
1 #ifndef _M68K_INIT_H
2 #define _M68K_INIT_H
4 #include <linux/config.h>
6 #ifndef CONFIG_KGDB
8 #define __init __attribute__ ((__section__ (".text.init")))
9 #define __initdata __attribute__ ((__section__ (".data.init")))
10 /* For assembly routines */
11 #define __INIT .section ".text.init",#alloc,#execinstr
12 #define __FINIT .previous
13 #define __INITDATA .section ".data.init",#alloc,#write
15 #else
17 /* gdb doesn't like it all if the code for one source file isn't together in
18 * the executable, so we must avoid the .init sections :-( */
20 #define __init
21 #define __initdata
22 /* For assembly routines */
23 #define __INIT
24 #define __FINIT
25 #define __INITDATA
27 #endif /* CONFIG_KGDB */
29 #endif