x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / ia64 / include / asm / linkage.h
blob787575701f1ca94c34b872e3b2f37fd97da3afc7
1 #ifndef __ASM_LINKAGE_H
2 #define __ASM_LINKAGE_H
4 #ifndef __ASSEMBLY__
6 #define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
8 #else
10 #include <asm/asmmacro.h>
12 #endif
14 #define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#")
15 #define SYSCALL_ALIAS(alias, name) \
16 asm ( #alias "# = " #name "#\n\t.globl " #alias "#")
18 #endif