Linux Audio

Check our new training course

Loading...
v5.9
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_LINKAGE_H
 3#define __ASM_LINKAGE_H
 4
 5#ifndef __ASSEMBLY__
 6
 7#define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
 8
 9#else
10
11#include <asm/asmmacro.h>
12
13#endif
14
15#define cond_syscall(x) asm(".weak\t" #x "#\n" #x "#\t=\tsys_ni_syscall#")
16#define SYSCALL_ALIAS(alias, name)					\
17	asm ( #alias "# = " #name "#\n\t.globl " #alias "#")
18
19#endif
v3.5.6
 
 1#ifndef __ASM_LINKAGE_H
 2#define __ASM_LINKAGE_H
 3
 4#ifndef __ASSEMBLY__
 5
 6#define asmlinkage CPP_ASMLINKAGE __attribute__((syscall_linkage))
 7
 8#else
 9
10#include <asm/asmmacro.h>
11
12#endif
 
 
 
 
13
14#endif