]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/src/kern/initcalls.h
Inital import
[l4.git] / kernel / fiasco / src / kern / initcalls.h
1 #ifndef INITCALLS_H__
2 #define INITCALLS_H__
3
4 #include "globalconfig.h"
5
6 #define FIASCO_INIT             __attribute__ ((__section__ (".initcall.text")))
7 #define FIASCO_INITDATA         __attribute__ ((__section__ (".initcall.data")))
8
9 #ifdef CONFIG_MP
10 # define FIASCO_INIT_CPU
11 # define FIASCO_INITDATA_CPU
12 #else
13 # define FIASCO_INIT_CPU FIASCO_INIT
14 # define FIASCO_INITDATA_CPU FIASCO_INITDATA
15 #endif
16
17 #endif // INITCALLS_H__