Blame view

kernel/linux-rt-4.4.41/arch/ia64/include/asm/linkage.h 359 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  #ifndef __ASM_LINKAGE_H
  #define __ASM_LINKAGE_H
  
  #ifndef __ASSEMBLY__
  
  #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
  
  #else
  
  #include <asm/asmmacro.h>
  
  #endif
  
  #define cond_syscall(x) asm(".weak\t" #x "#
  " #x "#\t=\tsys_ni_syscall#")
  #define SYSCALL_ALIAS(alias, name)					\
  	asm ( #alias "# = " #name "#
  \t.globl " #alias "#")
  
  #endif