Merge tag 'leds-for-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anasz...
[linux-2.6-microblaze.git] / arch / mips / include / asm / linkage.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_LINKAGE_H
3 #define __ASM_LINKAGE_H
4
5 #ifdef __ASSEMBLY__
6 #include <asm/asm.h>
7 #endif
8
9 #define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
10 #define SYSCALL_ALIAS(alias, name)                                      \
11         asm ( #alias " = " #name "\n\t.globl " #alias)
12
13 #endif