linkage.h 503 B

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