linkage.h 550 B

12345678910111213141516171819202122232425262728293031
  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 separate independent lines.
  10. */
  11. #ifdef __ASSEMBLY__
  12. #define ENTRY(name) \
  13. .export name !\
  14. ALIGN !\
  15. name:
  16. #ifdef CONFIG_64BIT
  17. #define ENDPROC(name) \
  18. END(name)
  19. #else
  20. #define ENDPROC(name) \
  21. .type name, @function !\
  22. END(name)
  23. #endif
  24. #endif /* __ASSEMBLY__ */
  25. #endif /* __ASM_PARISC_LINKAGE_H */