~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-ppc/init.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifdef __KERNEL__
  2 #ifndef _PPC_INIT_H
  3 #define _PPC_INIT_H
  4 
  5 #include <linux/init.h>
  6 
  7 #define __pmac __attribute__ ((__section__ (".text.pmac")))
  8 #define __pmacdata __attribute__ ((__section__ (".data.pmac")))
  9 #define __pmacfunc(__argpmac) \
 10         __argpmac __pmac; \
 11         __argpmac
 12         
 13 #define __prep __attribute__ ((__section__ (".text.prep")))
 14 #define __prepdata __attribute__ ((__section__ (".data.prep")))
 15 #define __prepfunc(__argprep) \
 16         __argprep __prep; \
 17         __argprep
 18 
 19 #define __chrp __attribute__ ((__section__ (".text.chrp")))
 20 #define __chrpdata __attribute__ ((__section__ (".data.chrp")))
 21 #define __chrpfunc(__argchrp) \
 22         __argchrp __chrp; \
 23         __argchrp
 24 
 25 #define __apus __attribute__ ((__section__ (".text.apus")))
 26 #define __apusdata __attribute__ ((__section__ (".data.apus")))
 27 #define __apusfunc(__argapus) \
 28         __argapus __apus; \
 29         __argapus
 30 
 31 /* this is actually just common chrp/pmac code, not OF code -- Cort */
 32 #define __openfirmware __attribute__ ((__section__ (".text.openfirmware")))
 33 #define __openfirmwaredata __attribute__ ((__section__ (".data.openfirmware")))
 34 #define __openfirmwarefunc(__argopenfirmware) \
 35         __argopenfirmware __openfirmware; \
 36         __argopenfirmware
 37         
 38 #endif /* _PPC_INIT_H */
 39 #endif /* __KERNEL__ */
 40 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.