Linux Audio

Check our new training course

Loading...
v4.6
 
 1#ifndef __ASM_LINKAGE_H
 2#define __ASM_LINKAGE_H
 3
 4#ifdef __ASSEMBLY__
 5#include <asm/asm.h>
 6#endif
 7
 8#define cond_syscall(x) asm(".weak\t" #x "\n" #x "\t=\tsys_ni_syscall")
 9#define SYSCALL_ALIAS(alias, name)					\
10	asm ( #alias " = " #name "\n\t.globl " #alias)
11
12#endif
v6.2
 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