License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / mips / include / asm / linkage.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __ASM_LINKAGE_H
3#define __ASM_LINKAGE_H
4
ab7efcc9
JB
5#ifdef __ASSEMBLY__
6#include <asm/asm.h>
7#endif
1da177e4 8
e1b5bb6d
AV
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)
641e97f3 12
1da177e4 13#endif