Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / powerpc / include / asm / linkage.h
blobb36f650a13fff8d0cd5dacbdee907997d22a6790
1 #ifndef _ASM_POWERPC_LINKAGE_H
2 #define _ASM_POWERPC_LINKAGE_H
4 #ifdef CONFIG_PPC64
5 #define cond_syscall(x) \
6 asm ("\t.weak " #x "\n\t.set " #x ", sys_ni_syscall\n" \
7 "\t.weak ." #x "\n\t.set ." #x ", .sys_ni_syscall\n")
8 #define SYSCALL_ALIAS(alias, name) \
9 asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \
10 "\t.globl ." #alias "\n\t.set ." #alias ", ." #name)
11 #endif
13 #endif /* _ASM_POWERPC_LINKAGE_H */