home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / parisc / include / asm / linkage.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  550 b   |  32 lines

  1. #ifndef __ASM_PARISC_LINKAGE_H
  2. #define __ASM_PARISC_LINKAGE_H
  3.  
  4. #ifndef __ALIGN
  5. #define __ALIGN         .align 4
  6. #define __ALIGN_STR     ".align 4"
  7. #endif
  8.  
  9. /*
  10.  * In parisc assembly a semicolon marks a comment while a
  11.  * exclamation mark is used to separate independent lines.
  12.  */
  13. #ifdef __ASSEMBLY__
  14.  
  15. #define ENTRY(name) \
  16.     .export name !\
  17.     ALIGN !\
  18. name:
  19.  
  20. #ifdef CONFIG_64BIT
  21. #define ENDPROC(name) \
  22.     END(name)
  23. #else
  24. #define ENDPROC(name) \
  25.     .type name, @function !\
  26.     END(name)
  27. #endif
  28.  
  29. #endif /* __ASSEMBLY__ */
  30.  
  31. #endif  /* __ASM_PARISC_LINKAGE_H */
  32.