linkage.h 267 B

12345678910111213
  1. #ifndef __ASM_LINKAGE_H
  2. #define __ASM_LINKAGE_H
  3. #ifdef __ASSEMBLY__
  4. #include <asm/asm.h>
  5. #endif
  6. #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
  7. #define SYSCALL_ALIAS(alias, name) \
  8. asm ( #alias " = " #name "\n\t.globl " #alias)
  9. #endif