linkage.h 458 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef _ASM_C6X_LINKAGE_H
  2. #define _ASM_C6X_LINKAGE_H
  3. #ifdef __ASSEMBLER__
  4. #define __ALIGN .align 2
  5. #define __ALIGN_STR ".align 2"
  6. #ifndef __DSBT__
  7. #define ENTRY(name) \
  8. .global name @ \
  9. __ALIGN @ \
  10. name:
  11. #else
  12. #define ENTRY(name) \
  13. .global name @ \
  14. .hidden name @ \
  15. __ALIGN @ \
  16. name:
  17. #endif
  18. #define ENDPROC(name) \
  19. .type name, @function @ \
  20. .size name, . - name
  21. #endif
  22. #include <asm-generic/linkage.h>
  23. #endif /* _ASM_C6X_LINKAGE_H */