4 #include <linux/init.h>
6 #if __GNUC__ > 2 || __GNUC_MINOR__ >= 90 /* egcs */
7 #define __pmac __attribute__ ((__section__ (".text.pmac")))
8 #define __pmacdata __attribute__ ((__section__ (".data.pmac")))
9 #define __pmacfunc(__argpmac) \
13 #define __prep __attribute__ ((__section__ (".text.prep")))
14 #define __prepdata /* __attribute__ ((__section__ (".data.prep")))*/
15 #define __prepfunc(__argprep) \
19 #define __apus __attribute__ ((__section__ (".text.apus")))
20 #define __apusdata __attribute__ ((__section__ (".data.apus")))
21 #define __apusfunc(__argapus) \
25 /* this is actually just common chrp/pmac code, not OF code -- Cort */
26 #define __openfirmware __attribute__ ((__section__ (".text.openfirmware")))
27 #define __openfirmwaredata __attribute__ ((__section__ (".data.openfirmware")))
28 #define __openfirmwarefunc(__argopenfirmware) \
29 __argopenfirmware __openfirmware; \
36 #define __pmacfunc(x) x
40 #define __prepfunc(x) x
44 #define __apusfunc(x) x
46 #define __openfirmware
47 #define __openfirmwaredata
48 #define __openfirmwarefunc(x) x
52 #endif /* _PPC_INIT_H */