Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: 42226c989789d8da4af1de0c31070c96726d990c authored by Linus Torvalds on 16 May 2022, 01:08:58 UTC
Linux 5.18-rc7
Tip revision: 42226c9
linkage.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

#ifdef __ASSEMBLY__
#include <asm/asm.h>
#endif

#define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
#define SYSCALL_ALIAS(alias, name)					\
	asm ( #alias " = " #name "\n\t.globl " #alias)

#endif
back to top