Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: dcb99fd9b08cfe1afe426af4d8d3cbc429190f15 authored by Linus Torvalds on 17 March 2014, 01:51:24 UTC
Linux 3.14-rc7
Tip revision: dcb99fd
linkage.h
#ifndef __ASM_LINKAGE_H
#define __ASM_LINKAGE_H

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

#define __weak __attribute__((weak))
#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